Skip to content
Snippets Groups Projects
Commit 13ea8a6b authored by Jed Parsons's avatar Jed Parsons
Browse files

Merge pull request #2025 from fmarier/verbose_mysql_instructions

More verbose instructions for the initial MySQL setup
parents a55dfb78 b48aec35
No related branches found
No related tags found
No related merge requests found
...@@ -35,6 +35,19 @@ create tables. You can then run the mysql suite with, e.g., ...@@ -35,6 +35,19 @@ create tables. You can then run the mysql suite with, e.g.,
NODE_ENV=test_mysql MYSQL_USER=browserid MYSQL_PASSWORD=browserid npm test NODE_ENV=test_mysql MYSQL_USER=browserid MYSQL_PASSWORD=browserid npm test
``` ```
#### Initial MySQL setup
The following will create a database user with enough privileges:
$ mysql -uroot -p
> CREATE USER 'browserid'@'localhost' IDENTIFIED BY 'browserid';
> GRANT ALL ON *.* TO 'browserid'@'localhost';
> FLUSH PRIVILEGES;
If you need to reset the MySQL root password on a Debian system, you'll need to do something like:
$ sudo dpkg-reconfigure -plow mysql-server-5.5
### Test Suites ### Test Suites
There are two test suites: There are two test suites:
......
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