Menu

How to move data to a new host?

Help
2006-03-03
2013-04-16
  • Nobody/Anonymous

    I'm in process of switching my hosts and want to move the existing PHPBT database as well. I use MySQL. Is there any easy (or maybe not that easy) way to do this.

    Pavel (SQL dummy:)

     
    • Benjamin Curtis

      Benjamin Curtis - 2006-03-03

      Create the new database on the new host, then on the command line...

      mysqldump --opt -h oldhost old_database_name | mysql -h newhost new_database_name

       

Log in to post a comment.