Edgewall Software

Changes between Version 29 and Version 30 of MySqlDb


Ignore:
Timestamp:
Feb 25, 2009, 2:07:12 PM (15 years ago)
Author:
anatoly techtonik <techtonik@…>
Comment:

+ hints how to convert database

Legend:

Unmodified
Added
Removed
Modified
  • MySqlDb

    v29 v30  
    9393== Conversion ==
    9494
     95==== MyISAM to InnoDB ====
     96
     97For every table in Trac database issue:
     98{{{
     99ALTER TABLE `table_name` ENGINE = InnoDB;
     100}}}
     101
     102==== Collation from "whatever" to "utf8_bin" ====
     103First modify DB collation:
     104{{{
     105ALTER DATABASE `trac_database` DEFAULT CHARACTER SET utf8 COLLATE utf8_bin;
     106}}}
     107
     108Then modify tables - issue the following for every table:
     109{{{
     110ALTER TABLE `table_name` DEFAULT CHARACTER SET utf8 COLLATE utf8_bin;
     111}}}
     112
     113==== From SQLite ====
    95114While a more robust method may be created for [milestone:0.10.4] to allow easy conversion from SQLite to MySQL, users have reported success with the [wiki:SqLiteToMySql following method].