Hi there, new DevKinsta user here. At my company, we develop with Docker regularly, but I’m running into issues trying to use DevKinsta, specifically connecting to external Amazon RDS. The same wp-config settings exist in both our setups. Repro steps:
Created a new Wordpress installation on Dev Kinsta.
Copied over our current app’s wp-config.php variables.
Tried to start the site and see it locally
See this error: "Access denied for user 'l4g-dev'@'108-226-161-97.lightspeed.sntcca.sbcglobal.net' (using password: YES) in /www/kinsta/public/l4gkinsta2/wp-includes/class-wpdb.php on line 1775"
Hello @alee Andrew Welcome to DevKinsta community!
Based on your reports/results, it looks like your local WordPress site (hosted on your local computer/DevKinsta) was trying to connect to that external database hostname ( 108-226-161-97.lightspeed.sntcca.sbcglobal.net )
That 108-226-161-97.lightspeed.sntcca.sbcglobal.net seems to be defined/setup in your wp-config.php file perhaps?
Could you please open and check the wp-config.php file (that you copied over to your local computer. Usually it’s located inside the " ~/DevKinsta/public/yoursitename " subfolder) and locate for the “/** Database hostname */” section/line, and normally under that line, you will see something like this:
define( 'DB_HOST', 'devkinsta_db' );
please see if the DB_HOST in that wp-config.php file was set/defined with 108-226-161-97.lightspeed.sntcca.sbcglobal.net (or something else) ?
If that so, then you may need to change it to: devkinsta_db as shown above and save it. After that, please see if you can access the local site?