Skip to content
Snippets Groups Projects
Commit 2b626778 authored by Lloyd Hilaiel's avatar Lloyd Hilaiel
Browse files

describe how to set up mysql in DEPLOYMENT.md

parent b153d1eb
No related branches found
No related tags found
No related merge requests found
......@@ -85,8 +85,17 @@ Subsequent steps use different software which you might need to install.
* **curl** - used to iniate http requests from the cmd line (to kick the browserid server)
* **java** - used to minify css
* **mysql 5.1+** - the preferred persistence backend
### 4. Set up post-update hook
### 4. Set up mysql
0. ensure you can connect via TCP - localhost:3306 (like, make sure skip-networking is off in my.cnf)
1. connect to the database as user root
2. `CREATE USER 'browserid'@'localhost' IDENTIFIED BY 'browserid';`
3. `CREATE DATABASE browserid;`
4. `GRANT CREATE, DELETE, INDEX, INSERT, LOCK TABLES, SELECT, UPDATE ON browserid.* TO 'browserid'@'localhost';`
### 5. Set up post-update hook
*This step is optional* - if you want to manually update code you
probably skipped step #1, you can skip this one as well. All you need
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment