Skip to content

sqlite to mysql

2016.10.18 09:41

WHRIA 조회 수:99

HowTo: Migrate a database dump from SQLite to MySQL

Grab the (sqlite) sql dump an fire up your editor:

sqlite3 db/development.sqlite .dump .quit > dump.sql

You have to make these replacements:

  • replace all double-quotes (") with grave accents (´) (in vim just type :%s/"/´/)
  • replace "autoincrement" with "auto_increment"
  • remove "BEGIN TRANSACTION;" from the beginnig of the dump
  • remove "COMMIT;" from the end of the dump
  • remove all lines containing "sqlite_sequence"

Now you can simply import your new MySQL dump.

번호 제목 글쓴이 날짜 조회 수
1609 lvm 확장 [1] WHRIA 2019.12.25 53
1608 pytorch object detect / retinanet WHRIA 2019.12.22 223
1607 kaggle leakage WHRIA 2019.12.19 45
1606 pytorch - caffe WHRIA 2019.12.19 79
1605 pytorch mini batch size WHRIA 2019.12.19 93
1604 windows softraid monitor WHRIA 2019.12.19 82
1603 raid monitor WHRIA 2019.12.15 65
1602 SAS controller SAS 9212-4i WHRIA 2019.12.08 155
1601 Basic tutorial to develop driver on windows WHRIA 2019.12.07 440
1600 Keratinocytic Skin Cancer Detection on the Face Using Region-Based Convolutional Neural Network WHRIA 2019.12.07 358
1599 linux raid WHRIA 2019.11.30 65
1598 Micro- and macro-averages WHRIA 2019.11.28 152
1597 mcnemar WHRIA 2019.11.20 100
1596 python pdf writer WHRIA 2019.11.04 348
1595 distributed training [2] WHRIA 2019.10.30 97

Powered by Xpress Engine / Designed by Sketchbook

sketchbook5, 스케치북5

sketchbook5, 스케치북5

나눔글꼴 설치 안내


이 PC에는 나눔글꼴이 설치되어 있지 않습니다.

이 사이트를 나눔글꼴로 보기 위해서는
나눔글꼴을 설치해야 합니다.

설치 취소