Forums

Only the root MySQL user can access the database (2 posts)

  1. Josiah Sprague
    Member
    Posted 8 months ago #

    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.

  2. karunshakya45
    Member
    Posted 8 months ago #

    After you create a new user in database and new database , you need to set permission to the user to all the privileges of the database. Have you done this?

Reply

You must log in to post.

About this Topic

Tags

No tags yet.