Edgewall Software

Changes between Version 8 and Version 9 of SqLiteToMySql


Ignore:
Timestamp:
Sep 4, 2008, 9:20:46 PM (16 years ago)
Author:
anonymous
Comment:

add some stuff (mainly from MySqlDb wiki page) to help users with issues running the sqlite2mysql script

Legend:

Unmodified
Added
Removed
Modified
  • SqLiteToMySql

    v8 v9  
    7272http://trac-hacks.org/wiki/SqliteToMySqlScript
    7373
    74 This worked really well... painless.
     74This worked really well... painless.  The only issues you might run into are with character collation on your database.  With the default latin1 character set and latin1 collation, /path/to/file and /path/to/FILE are identical, potentially causing index collisions.  It is highly advised that you create your database with UTF8 binary collation '''and''' set the server's default table type to InnoDB:
     75
     76 * in my.cnf:
     77{{{
     78[mysqld]
     79default-table-type = InnoDB
     80}}}
     81
     82 * in the mysql client:
     83{{{
     84CREATE DATABASE trac DEFAULT CHARACTER SET utf8 COLLATE utf8_bin;
     85}}}
    7586
    7687Also, look at ticket:6986 to significantly improve Trac performance with MySQL.