Configuring MySQL 5.1 to store non-ASCII characters
To set up a MySQL 5.1 database with JIRA to work with non-ASCII (non-English) characters, please do the following:
- Create a new MySQL database using the following command:
CREATE DATABASE jiradb CHARACTER SET utf8 COLLATE utf8_bin;
- Grant all the required permissions to the JIRA user for the database as described here.
- Change JIRA's JDBC URL (in the
dbconfig.xmlfile in your JIRA Home Directory) to use the new database and be:
Please note the '&' XML escape for the ampersands in the url above is needed since it is specified in an xml file.
- Start JIRA and complete the setup process.
Please ensure that you create a new database using the correct character set and ensure that JIRA creates all its tables on startup without problems. This should allow you to work with all characters supported by Unicode, which covers most characters out there.
Please ensure that you are using the latest MySQL JDBC driver (see Connecting JIRA to MySQL for information on the JDBC driver).
Also please ensure you are using the UTF-8 character encoding in JIRA (Administration -> Global Settings -> General Configuration).
Was this helpful?
Thanks for your feedback!