Bookworm-project / BookwormDB

Tools for text tokenization and encoding
MIT License
84 stars 12 forks source link

Admin user documentation needs GRANT OPTION #67

Closed abbymullen closed 9 years ago

abbymullen commented 9 years ago

This issue is being filed by Ben from Abby's machine, where we discovered the problem.

Where the documentation currently reads:

CREATE USER 'foobar'@'localhost' IDENTIFIED BY 'mysecret';
GRANT ALL PRIVILEGES ON *.* TO 'foobar'@'localhost';
FLUSH PRIVILEGES;

It seems it should reflect also granting GRANT privileges or the build will break at the end.

CREATE USER 'foobar'@'localhost' IDENTIFIED BY 'mysecret';
GRANT ALL PRIVILEGES ON *.* TO 'foobar'@'localhost' WITH GRANT OPTION;
FLUSH PRIVILEGES;
bmschmidt commented 9 years ago

Fixed: https://github.com/Bookworm-project/BookwormDB/commit/037bd716525ce076a49d73f2b1d9464d5ece2e89