Edgewall Software

Changes between Version 30 and Version 31 of MySqlDb


Ignore:
Timestamp:
Mar 4, 2009, 11:05:29 PM (15 years ago)
Author:
anatoly techtonik <techtonik@…>
Comment:

+ query to get engine type

Legend:

Unmodified
Added
Removed
Modified
  • MySqlDb

    v30 v31  
    1616To avoid unicode and international characters problems in Trac (e.g., international characters turning into question marks with mysterious "Incorrect string value" errors logged), we '''''strongly''''' advise MySQL users to use only databases with the ''`utf8`'' character set and the ''`utf8_bin`'' collation type. All tables should be created as  '''InnoDB''' or '''NDB''' type tables, because Trac uses transaction mechanism that not supported by MyISAM tables (see [comment:ticket:8067:5] and [http://dev.mysql.com/tech-resources/articles/storage-engine/part_3.html MySQL docs]).
    1717
    18 Such databases can be created with the MySQL monitor, like that:
     18Proper database can be created with the MySQL monitor, like that:
    1919{{{
    2020CREATE DATABASE trac DEFAULT CHARACTER SET utf8 COLLATE utf8_bin;
     
    9494
    9595==== MyISAM to InnoDB ====
     96Check that tables are not already converted:
     97{{{
     98SELECT table_name, engine FROM information_schema.tables WHERE table_schema=DATABASE();
     99}}}
    96100
    97101For every table in Trac database issue: