database error only when "wordpress" in the url
-
Hi,
First, sorry for my english, it’s really bad !
Second, here’s my problem. One of the old webmaster of my blog changed the password of the ftp server and the mysql database. So I had to change that password in the
wp-config.phpfile. All worked well, but when I attempted to connect to manage my website (wp-login.php) I had the error message “Error establishing a database connection“.After some search on the internet, I tried to repair my databases (
define('WP_ALLOW_REPAIR', true);) and also tried this method in phpMyAdmin :UPDATE wp_options SET option_value='YOUR_SITE_URL' WHERE option_name='siteurl'The second one worked, and now I can connect to my blog. I can do all the things but I still encounter some error. Everytime there is the word “wordpress” in the url, there is a database problem (Error establishing a database connection), but when i delete that word in the url, no problem and I can see the page that I wanted to see.
Can you help me please =(
The topic ‘database error only when "wordpress" in the url’ is closed to new replies.