Changes between Version 29 and Version 30 of MySqlDb
- Timestamp:
- Feb 25, 2009, 2:07:12 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MySqlDb
v29 v30 93 93 == Conversion == 94 94 95 ==== MyISAM to InnoDB ==== 96 97 For every table in Trac database issue: 98 {{{ 99 ALTER TABLE `table_name` ENGINE = InnoDB; 100 }}} 101 102 ==== Collation from "whatever" to "utf8_bin" ==== 103 First modify DB collation: 104 {{{ 105 ALTER DATABASE `trac_database` DEFAULT CHARACTER SET utf8 COLLATE utf8_bin; 106 }}} 107 108 Then modify tables - issue the following for every table: 109 {{{ 110 ALTER TABLE `table_name` DEFAULT CHARACTER SET utf8 COLLATE utf8_bin; 111 }}} 112 113 ==== From SQLite ==== 95 114 While 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].