Linux-Noob Forums

Full Version: mysql 4.1 -> 4.0
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

here is a little perl line i had to do to convert a default mysqldump from 4.1 to make it import into a 4.0 server. I know there are options in mysqldump to make it 4.0 ready but i didn't want to re-download a 400meg dump file

 



Code:
perl -pe "s/DEFAULT\ CHARSET\=latin1//g" forum.sql > forum2.sql




 

just in case someone needs it.. probably not though :)