Is there anything special I should know about MySQL for FogBugz?
|
3
1
|
|
|
|
|
3
|
There are a few things that can trip people up with MySQL. We try to allow for them, but sometimes default settings override. Running the following commands and looking for the desired result should flush out any config issues:
If your installation is experiencing problems with schema errors, a solution may be to make sure you're not running with STRICT mode turned on. That mode causes some schema warnings to be interpreted as errors. You may also need this if you're upgrading from FogBugz 6 or earlier. You can check for it thusly:
If you're experiencing character set problems or if you installed MySQL with a default collation that isn't latin1_swedish_ci, you may need to force FogBugz to talk to the server using latin1. To do so, add 'charset=latin1' to the end of your connection string on the FogBugz server. The lettercase of the table names must also be set correctly for your OS. These are almost always correct with the defaults, which differ across platforms, but if you are moving a MySQL-backed FogBugz installation between platforms (Windows, Unix and Mac), make sure that table names are case insensitive:
NOTE! The 'lower_case_table_names' setting will affect all your databases on the MySQL Server. Do not use this setting unless you are ONLY hosting fogbugz on the server or you know what you are doing. Additionally, when importing and exporting data on a MySQL server, you should have disk space in excess of three times your database dump file size. The logs generated by an import are sometimes twice the size of the dump file itself. See also this post for a sample my.cnf / my.ini file |
|||||||||
|
|
1
|
Another gotcha: As of FogBugz 7.1, we require MySQL 5.0.45 or higher due to compatibility issues. |
||
|
|
|
0
|
If performance is very slow, you can also check to make sure that your MySQL instance isn't running in debug mode. In unix you can see if the mysqld process was started with the option --debug. In windows, the executable should not have "debug" in the name, e.g. mysql-debug.exe |
||
|
|
|
0
|
More on max_allowed_packet: Note that there is a client and server setting. When sourcing a new database make sure both are set high enough.
If you edit the config file you'll need to restart MySQL to apply this change. source: http://stackoverflow.com/questions/93128/mysql-got-a-packet-bigger-than-max-allowed-packet-bytes- |
||
|
|
|
0
|
By adding charset=latin1 at the end of connectionstring in application.data file, what variable in mysql reflect that change? is it collation_database ? |
||
|
|
|
0
|
is this still up to date? these are my settings:
any problem with the settings? I am worried that the change may affect existing databases thanks henro |
|||
|
|