attiquer
10/3/2016 - 3:46 PM

database commands CLI

database commands CLI

CONNECT
mysql -u USERNAME -pPASSWORD -h HOSTNAMEORIP DATABASENAME

IMPORT
mysql -u username -p dbname < dbexport.sql

EXPORT
mysqldump -u username -p dbname > dbexport.sql