exporting_importing_database_tips
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
exporting_importing_database_tips [2008/08/08 14:54] – created juckins | exporting_importing_database_tips [2025/03/20 18:30] (current) – juckins | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | Use phpMyAdmin to export databases. | + | ==== Database Import-Export Tips ==== |
- | On new machine, make sure database does not exist. | + | Use phpMyAdmin to export databases. \\ |
+ | |||
+ | On new machine, make sure database does not exist. | ||
+ | |||
+ | On original machine, select database which you wish to export. \\ | ||
+ | |||
+ | 1. First export just the " | ||
+ | 2. Then export just the " | ||
+ | 3. On target machine, import Structure file first. | ||
+ | 4. You might need to restart the mysql database server with this command (note max_allowed_packet setting): | ||
+ | < | ||
+ | su - mysql | ||
+ | / | ||
+ | </ | ||
+ | |||
+ | SQL statement to show all users on the system: \\ | ||
+ | < | ||
+ | mysql> SELECT * from mysql.user; | ||
+ | </ | ||
- | On original machine, select database which you wish to export. | ||
- | 1. First export just the " | ||
- | 2. Then export just the " | ||
- | 3. On target machine, import Structure file first. |
exporting_importing_database_tips.1218221650.txt.gz · Last modified: 2008/08/08 14:54 by juckins