mirror of
https://github.com/CAcertOrg/cats.git
synced 2024-11-08 07:04:03 +00:00
Quote username with hyphen
Newer versions seem to require quotes for usernames with hyphens...
This commit is contained in:
parent
7a213874f2
commit
3c356e876c
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ Setup
|
||||||
- Connect to your MySQL server with an administrative user and create a database for CATS:
|
- Connect to your MySQL server with an administrative user and create a database for CATS:
|
||||||
CREATE DATABASE cats_db;
|
CREATE DATABASE cats_db;
|
||||||
- Create a user for CATS to access the database:
|
- Create a user for CATS to access the database:
|
||||||
CREATE USER cats-user IDENTIFIED BY '<a password>';
|
CREATE USER 'cats-user' IDENTIFIED BY '<a password>';
|
||||||
- Grant the necessary user rights. These are a bit more than the absolute minimum:
|
- Grant the necessary user rights. These are a bit more than the absolute minimum:
|
||||||
GRANT DELETE, INSERT, SELECT, UPDATE ON cats_db.* TO cats_user;
|
GRANT DELETE, INSERT, SELECT, UPDATE ON cats_db.* TO cats_user;
|
||||||
- Change the database context to the newly created cats_db:
|
- Change the database context to the newly created cats_db:
|
||||||
|
|
Loading…
Reference in a new issue