Skip to content

Instantly share code, notes, and snippets.

View dizy64's full-sized avatar
:octocat:

이동근 dizy64

:octocat:
View GitHub Profile
@dizy64
dizy64 / migrate_mysq4to5.sh
Created May 28, 2018 13:17 — forked from atufkas/migrate_mysq4to5.sh
Converting MySQL4 database dump syntax to MySQL5
#
# MIGRATE MySQL4 DATABASES TO MySQL5 - Steps for dumping and converting
#
# Uses mysqldump and patches output to be compatible with MySQL 5.5+ (? - no sure
# at which specific release of MySQL 5 the old style syntax support ended).
#
# Conversion is most likely incomplete. It does some essential converting where
# I regularly experienced problems during migration.
#
# Use on own risk, always try with test databases first. No warranty at all!