SQL文をファイルから読み込む(インポート) : MySQL

mysql -u root -p databasename < example.sql クライアント文字コードをUTF-8に設定。 mysql -u root -p --default-character-set=utf […]