Mysql起動
mysql.server start
Mysql再起動
mysql.server restart
Mysqlストップ
mysql.server stop
データベースの一覧を見る
SHOW DATABASES;
Datebaseを作る
CREATE DATABASE データベース名;
Datebaseを削除する
DROP DATABASE データベース名;
データベースの選択
USE データベース名;
ユーザー確認
SELECT host,user FROM mysql.user;
特定のデータベースを入れる
mysql -u root データベース名 < dump.sql(SQL名)