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
afit / update_tables_to_utf8.py
Created Jul 6, 2017
Convert all MySQL tables to UTF-8 w/ general CI
View update_tables_to_utf8.py
#!/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.