If you work with SaaS services like Heroku or Amazon AWS / RDS / Aurora, it’s common to receive a connection string rather than a neatly divided variable for database host, port etc. With the snippet below you can convert a database string into the correct WordPress wp-config.php
parameters.
Convert MySQL connection string to WordPress wp-config.php parameters

Comments
0
There are currently no comments.