Database error
-
Hi,
I can connect to my database using PHPMyAdmin, I can see all the tables and eveything work fine.
But I’ve got this message “Error establishing a database connection” when I’m trying to connect to this my website: https://paullehmanndesign.com/
I’ve checked many times my wp-config.php file and the username, Database name and hostname are correct.
The same problem occur with https://paullehmanndesign.com/wp-admin/
I’ve checked my MySQL Server using this code:
<?php
$link = mysql_connect(‘localhost’, ‘root’, ‘password’);
if (!$link) {
die(‘Could not connect: ‘ . mysql_error());
}
echo ‘Connected successfully’;
mysql_close($link);
?>and it works.
So I really don’t know what to do to fix the issue.
Thank you for your help
The page I need help with: [log in to see the link]
- The topic ‘Database error’ is closed to new replies.