10
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

MySQLでインポート時にエラーを無視

Posted at

MySQLで、大量のデータをインポートする際に、途中でエラーがあると全部止まってしまいます。そこで、エラーがあっても無視してインポートを続けるには、「-f」オプションを付加します。

mysql -uuser -p dbtable -f < import.sql
10
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
10
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?