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 'locahost' 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.

GoDaddy Connecting Remotely to Shared Hosting Databases


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

Need Your Help

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.