Skip to content

Instantly share code, notes, and snippets.

@Harold2017
Created September 2, 2020 02:28
Show Gist options
  • Save Harold2017/be9cf0a8c9748fc48669735ad78d5b6f to your computer and use it in GitHub Desktop.
Save Harold2017/be9cf0a8c9748fc48669735ad78d5b6f to your computer and use it in GitHub Desktop.
read_dump_db
mysql> create database db_name;
mysql> use db_name;
mysql> set autocommit=0;
mysql> source dump_file.sql;
mysql> commit;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment