0
0

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.

サーバの有用コマンド

Posted at

LINUX

MYSQL

nohup mysql -u <username> -p --max_allowed_packet=12000M <db_name> < <file_path> &

DBをインポートするため。
nohup:nohupを使って、実行ログはnohup.outファイルに出力します。
&: を付けると、backgroundプロセスになります。
--max_allowed_packet:max_allowed_packetのセット

0
0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?