Moderator
t-p
(@t-p)
– “Error establishing a database connection” means that there is a problem with the connection to your database – a problem with the credentials stored in the wp-config.php file not matching what mysql expects.
– Try reviewing the following codex for some guidance: http://codex.ww.wp.xz.cn/Common_WordPress_Errors#Error_Establishing_Database_Connection
– Also try reviewing this tutorial: http://www.wpbeginner.com/wp-tutorials/how-to-fix-the-error-establishing-a-database-connection-in-wordpress/
Thanks, I will follow the links you sent. What is strange is everything was working until I change the two files with exactly what WP showed me at the last step for making it multisite.
I believe the data is correct. I have the following:
DB_NAME ‘wordpress’
DB_USER ‘root’
DB_PASSWORD ‘XXXXXXX’ (I use this when on a CLI to access MySQL
DB_HOST ‘localhost’
Should the DB_USER be ‘wproot’ which is in the wp_user table?
[DB_PASSWORD Moderated: Info redacted – please do not post server sensitive information (passwords, etc)]
-
This reply was modified 8 years, 9 months ago by
t-p.
-
This reply was modified 8 years, 9 months ago by
t-p.
NP, the PW was not the exact one but confirming there was a value.