exporting_importing_database_tips
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| exporting_importing_database_tips [2008/08/08 14:56] – juckins | exporting_importing_database_tips [2025/12/06 23:10] (current) – juckins | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | Use phpMyAdmin to export databases. \\ | + | ==== Database Import-Export Tips ==== |
| + | |||
| + | Users and permissions: | ||
| + | https:// | ||
| + | |||
| + | Import-export: | ||
| + | https:// | ||
| + | |||
| + | Create database, then import sql: | ||
| + | |||
| + | create database db_name; | ||
| + | mysql -u XXX -p' | ||
| + | |||
| + | ---- | ||
| + | |||
| + | You can also use phpMyAdmin to export databases. \\ | ||
| On new machine, make sure database does not exist. \\ | On new machine, make sure database does not exist. \\ | ||
| Line 13: | Line 28: | ||
| / | / | ||
| </ | </ | ||
| + | |||
| + | SQL statement to show all users on the system: \\ | ||
| + | < | ||
| + | mysql> SELECT * from mysql.user; | ||
| + | </ | ||
| + | |||
exporting_importing_database_tips.1218221784.txt.gz · Last modified: by juckins
