-1

What is the best method for doing this? Import>

If I simply do a dump of the old one, MySQL database, and import into the "new database" that is up and running on a new server. Will new tables in the new database interfere, or will old data/tables that match...just simply import and populate into the new database?

am I going about this in the correct way?

4

1 に答える 1

0

私はまず、古いデータベースと新しいデータベースの両方を を使用してバックアップするmysqldumpか、phpmyadmin.

その後、古いデータベースのダンプを新しいデータベースにインポートできます。これにより、既存の「新しい」テーブルが残され、古いデータベースからテーブルが追加されます。何か問題が発生した場合でも、いつでもバックアップを手元に置いておくことができます。

PS テーブルが干渉する可能性があるのは、名前が同じで構造が異なる 2 つのテーブルがある場合のみです。その場合は注意してください。

于 2013-07-25T00:46:32.677 に答える