Skip to content

Commit

Permalink
Improve security: Limit rights for Baïkal's MySQL user
Browse files Browse the repository at this point in the history
  • Loading branch information
fhemberger committed Jan 21, 2014
1 parent 6cd9e2a commit c83db79
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -317,12 +317,12 @@ mysql -u root -p #password#

```mysql
CREATE DATABASE baikal;
GRANT ALL PRIVILEGES ON baikal.* TO 'baikal'@'localhost' IDENTIFIED BY 'password' WITH GRANT OPTION;
GRANT DELETE, INSERT, SELECT, UPDATE ON baikal.* TO 'baikal'@'localhost' IDENTIFIED BY '#password#';
exit
```

```sh
mysql -u baikal -p #password# -D baikal < /var/www/baikal/Core/Resources/Db/MySQL/db.sql
mysql -u root -p #password# -D baikal < /var/www/baikal/Core/Resources/Db/MySQL/db.sql
sudo touch /var/www/baikal/Specfic/ENABLE_INSTALL
sudo chown www-data /var/www/baikal/Specific/ENABLE_INSTALL
sudo vi /etc/apache2/sites-available/baikal
Expand Down

0 comments on commit c83db79

Please sign in to comment.