実行mysql -u root -p 'databasename' < /path/to/file.sql
していて、次のエラーが発生しています。
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '<br />
<b>Fatal error</b>: Allowed memory size of 134217728 bytes exhausted (tr' at line 90
mysql> Aborted
これを一時的に回避する方法を見つけようとしています...私が試したことの1つは--max_allowed_packet=512M
、コマンドに追加することです。
.sql ファイルは 120MB です。助言がありますか?