Commit 7acab75f authored by Administrator's avatar Administrator

Fixes a bug in the README's database creation queries

The database creation queries in the README.md file had a bug, as the ".*" to
reference all the tables in the databases was missing. This commit fixes this
bug and some minor indentation errors in this file.
parent 1fb6f62c
......@@ -58,11 +58,11 @@ commands:
```sql
CREATE DATABASE xcs;
GRANT ALL PRIVILEGES ON xcs TO xcs@localhost IDENTIFIED BY 'xcs';
GRANT ALL PRIVILEGES ON xcs.* TO xcs@localhost IDENTIFIED BY 'xcs';
FLUSH PRIVILEGES;
CREATE DATABASE xcssampletest;
GRANT ALL PRIVILEGES ON xcssampletest TO xcs@localhost IDENTIFIED BY 'xcs';
GRANT ALL PRIVILEGES ON xcssampletest.* TO xcs@localhost IDENTIFIED BY 'xcs';
FLUSH PRIVILEGES;
```
......@@ -72,7 +72,7 @@ tests) you can also execute:
```sql
DROP TABLE IF EXISTS `User`;
CREATE TABLE `User` (
CREATE TABLE `User` (
`role` varchar(5) NOT NULL,
`login` varchar(100) NOT NULL,
`password` varchar(32) NOT NULL,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment