Jump to content

how to split database


pixeltrace

Recommended Posts

hi,

 

i need help, i hava a DB backup that i need to dump into our new server

and the size is 2.6GB

 

i know that in mysql 5 the max load is only 1GB

 

my problem now is whenever i am using

shell> mysql -p -h localhost database < database.sql

i am getting this error

ERROR 1153 (08S01) at line 33: Got a packet bigger than 'max_allowed_packet' bytes

 

i need to know what other options i can use so i can import the database

 

hope you could help me with this.

 

thanks!

Link to comment
https://forums.phpfreaks.com/topic/68007-how-to-split-database/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.