Skip to content

Instantly share code, notes, and snippets.

Avatar
⁉️
shocking information

Bleach BleachDev

⁉️
shocking information
View GitHub Profile
View sqldump2csv.py
# Turns a MySQL dump/backup file into csv files
# (Each table is a separate csv file)
import csv
csv.field_size_limit(2147483647)
TABLE = 0
TABLE_NAME = 1
TABLE_ENTRY = 2
TABLE_SKIP = 3