Problem with installing WP database

Discussion in 'WordPress' started by coolsleek, Mar 9, 2009.

  1. #1
    I have a site called www.site1.com. I want to transfer site1 database to another site www.site2.com I am using the same host

    I exported the site1 database to my desktop. then I made a new database, I called newsite database.

    i imported site1 database into newsite database using phpMyAdmin. i didn't do any thing to the SQL tab.

    i change the site2 wp_config.php file (db_name and db_user) to point at newsite database. But the www.site2.com shows me error in database. What am I doing wrong?

    Do I have to include mysql username ppassword database < file.sql??
     
    coolsleek, Mar 9, 2009 IP
  2. deluxdon

    deluxdon Catch Me If You Can...!!!™ Staff

    Messages:
    25,482
    Likes Received:
    1,943
    Best Answers:
    32
    Trophy Points:
    480
    #2
    Which error you are getting there :confused:

    DON.
     
    deluxdon, Mar 10, 2009 IP
  3. craiger22

    craiger22 Well-Known Member

    Messages:
    1,472
    Likes Received:
    99
    Best Answers:
    0
    Trophy Points:
    170
    #3
    I think it would be easier to export the database from site one using the export option in the wp-admin page and them importing it into site 2 using the wp-admin page. A lot less can go wrong this way since you arent merging the wp-options, just the content.
     
    craiger22, Mar 11, 2009 IP
  4. j0563

    j0563 Guest

    Messages:
    153
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #4
    j0563, Mar 11, 2009 IP