Can i import mysql database with change db info?

Discussion in 'WordPress' started by Jalpari, Mar 7, 2009.

  1. #1
    Can i import wordpress backup file in phpmyadmin if old wordpress db name and user info is different to new one
     
    Jalpari, Mar 7, 2009 IP
  2. Houdy

    Houdy Peon

    Messages:
    267
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Yes that info is not in the DB tables, just make the appropriate changes in the wp-config.php file to point to the new database. Use the correct database name, username and password. You should also check the MySQL hostname, it is usually localhost but a few use a different name.
     
    Houdy, Mar 7, 2009 IP