Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
mysql 4.1 -> 4.0
#1

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 :)

Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)