Skip to content

Instantly share code, notes, and snippets.

@claylo
Created May 3, 2011 21:16
Show Gist options
  • Save claylo/954262 to your computer and use it in GitHub Desktop.
Save claylo/954262 to your computer and use it in GitHub Desktop.
Atlassian Confluence database & user creation for MySQL
#
# You will want to pick a real password here!
#
CREATE USER 'confluenceuser'@'localhost' IDENTIFIED BY 'some_pass';
CREATE DATABASE confluence CHARACTER SET utf8 COLLATE utf8_bin;
GRANT ALL PRIVILEGES ON confluence.* to 'confluenceuser'@'localhost';
FLUSH PRIVILEGES;
# In case you forgot to change the password above...
# SET PASSWORD for 'confluenceuser'@'localhost' = PASSWORD('someother_pass');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment