DevKinsta Cannot access db info to continue to setup WordPress site

Hello @jackel716 :waving_hand:

First, I would like to say that I apologize for the delayed reply. We don’t provide real-time support in the forum, but we have less coverage for personnel that handles these threads this week.

In regards to the issue, it is as I feared. It’s not just the password it’s permissions. You need to alter permissions for your rot user to have access with any localhost IP used.

This should resolve the issue:

GRANTING PRIVILEGES TO ‘root’ USER

Please execute the following commands from the Terminal/Command line one by one:

1. docker exec -it devkinsta_db bash

2. mysql -u root -p

(enter the password you found in previous steps in devkinsta_db inspect)

3. GRANT ALL PRIVILEGES ON *.* TO ‘root’@‘%’ IDENTIFIED BY ‘the password you created’ WITH GRANT OPTION;

4. exit

5. exit

Try logging in to http://127.0.0.1:15200/. If you don’t get errors than it means the issue was resolved. Try creating a new site and it should be ready to go (without the WP install process).

Let me know how it goes :+1:

1 Like