Skip to content

Instantly share code, notes, and snippets.

Aidan Fitzpatrick afit

Block or report user

Report or block afit

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
afit /
Created Jul 6, 2017
Convert all MySQL tables to UTF-8 w/ general CI
#!/usr/bin/env python
import warnings
warnings.simplefilter("ignore", DeprecationWarning)
warnings.filterwarnings("ignore", ".*Module _mysql was already imported.*")
warnings.filterwarnings("ignore", ".*Module timezones was already imported.*")
import os, sys
sys.stdout = sys.stderr
You can’t perform that action at this time.