登入的命令mysql -u root -p
列出資料庫show databases;
離開quit
轉入table
mysql -u username -p databasename < path/example.sql
http://www.liquidweb.com/kb/create-a-mysql-user-on-linux-via-command-line/
http://www.yolinux.com/TUTORIALS/LinuxTutorialMySQL.html
http://stackoverflow.com/questions/5387619/how-to-import-a-single-table-in-to-mysql-database-using-command-line
沒有留言:
張貼留言