Only the root MySQL user can access the database
I am trying to set up WordPress locally. I had it setup and working before, but I decided I wanted to start fresh, so I wiped everything on my localhost and tried to install everything again. The problem is, when I am trying to configure WordPress to use any MySQL user other than ‘root’, I get the “Error establishing a database connection” message. I’m pretty sure the MySQL user is set up correctly, and with the right permissions, and I’ve triple checked what I’m putting into the wp-config file (the only thing I’m changing is the username and password). I know I could just use ‘root’ since it’s local, but I want to set this up the same on my localhost as on the live server.
- The topic ‘Only the root MySQL user can access the database’ is closed to new replies.