Created
April 25, 2011 21:54
-
-
Save claylo/941331 to your computer and use it in GitHub Desktop.
Atlassian JIRA database & user creation for MySQL.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# You will want to pick a real password here! | |
# | |
CREATE USER 'jirauser'@'localhost' IDENTIFIED BY 'some_pass'; | |
CREATE DATABASE jira CHARACTER SET utf8 COLLATE utf8_bin; | |
GRANT ALL PRIVILEGES ON jira.* to 'jirauser'@'localhost'; | |
FLUSH PRIVILEGES; | |
# In case you forgot to change the password above... | |
# SET PASSWORD for 'jirauser'@'localhost' = PASSWORD('someother_pass'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Per the Atlassian docs, that should be:
utf8mb4
is real UTF-8, unlikeutf8
(see discussion), and has been the correct choice since MySQL 5.5.3 released in 2010.