Search
 
SCRIPT & CODE EXAMPLE
 

SQL

mysql db dump restore max file size issue

mysql -u root -p

set global net_buffer_length=1000000; --Set network buffer length to a large byte number

set global max_allowed_packet=1000000000; --Set maximum allowed packet size to a large byte number

SET foreign_key_checks = 0; --Disable foreign key checking to avoid delays,errors and unwanted behaviour

source file.sql --Import your sql dump file

SET foreign_key_checks = 1; --Remember to enable foreign key checks when procedure is complete!
Comment

PREVIOUS NEXT
Code Example
Sql :: mysql maven repo in spring boot 
Sql :: How to select only the first rows for each unique value of a sql tablecolumn? 
Sql :: codeigniter 3 get best-selling products 
Sql :: Sql testing queries 
Sql :: faster mysql imports 
Sql :: subconjuntos SQL 
Sql :: classement rang mysql 7 
Sql :: how to take recent row without limit in mysql 
Sql :: select statement to print shortest name 
Sql :: pastashoppen 
Sql :: cahnge column name apex oracle 
Sql :: nodejs sql get one to many relationship as array 
Sql :: insert into database items linq2sql 
Sql :: execute stored procedure without db set 
Sql :: nth max in my sql 
Sql :: Sql Cursor: Implicit 
Sql :: How to group by week (7 days) in SQL Server 
Sql :: ms sql filter all sympbol 
Sql :: mysql datenbank anzahl anzeigen 
Sql :: sql redshift split into first and last name 
Sql :: Creating aMySQL database and a table 
Sql :: how to view full conversation with chat.db 
Sql :: how to change the field size of an existing column 
Sql :: The fetch keyword oracle 
Sql :: python mysqlclient library not found for -lssl 
Sql :: oracle run_duration average 
Sql :: what is union in sql 
Sql :: postgresql createdb 
Sql :: oracle sql first day of quarter 
Sql :: minus vs except in sql 
ADD CONTENT
Topic
Content
Source link
Name
6+7 =