VDS Sphera Knowledge Base
| Main / Browse Categories / MySQL / How can I import a MySQL database? |
How can I import a MySQL database?
From the SSH command line:
mysql -h localhost DATABASE < YOURFILE.sqlReplace DATABASE with the name of your database and YOURFILE with the actual name of your file. NOTE: Accounts created before July 7th, 2003 will want to use: /usr/local/mysql/bin/mysql -h localhost DATABASE < YOURFILE.sql
User Comments
|
||||||||
Attachments
| No attachments. |
Related Articles
|
|


