MySQL login details in WordPress

If you have decided to move a copy of your wordpress to other host propably you will have problem with your mysql login details. Even if mysql database name, login and password are same - propably you will have to change login host (until it is not localhost :) ). It is very easy to do. All you need to change after you copy WordPress script to your new account is to edit wp-config.php file. Open it in any text editor (Notepad would be ok), find and edit following lines:

define('DB_NAME', 'put_db_name_here');
define('DB_USER', 'put_db_login_here');
define('DB_PASSWORD', 'put_db_password_here');
define('DB_HOST', 'put_mysql_host_here');

And that's all :)

0 Response to “MySQL login details in WordPress”


  • No Comments

Leave a Reply