Migrating wordpress server and use the old database
I have to migrate the files from a website in Wordpress to a new server, however I would like the database to stay on the old server.
I tried to 'wp-config.php' change 'localhost' to panel PHPmyadmin: 'http://admin.*****.com/mysql/' put me back: Error Establishing a database connection.
the users and passwords'm sure that is correct, the url I'm not sure, Its possible? Thanks.
If on shared hosting, you most likely have to enable 'Remote MySQL' to allow for external connection to the database. Check with your host to see if you have access to this feature or for documentation.
If the database stays on the old server you have to change localhost in the wp-config.php on the new server to the MySQL-Server-Address of the old server