2
0
mirror of https://github.com/frappe/frappe_docker.git synced 2025-01-23 15:18:27 +00:00

fix: development README for MariaDB setup

This commit is contained in:
Revant Nandgaonkar 2020-03-07 05:55:11 +05:30
parent 01d487b720
commit 843d09fb6d

View File

@ -98,10 +98,9 @@ mysql -uroot -p123 -hmariadb
Execute following queries
```sql
UPDATE mysql.user SET Host = '%' where User = 'db_name';
SET PASSWORD FOR 'db_name'@'%' = PASSWORD('db_password');
GRANT ALL PRIVILEGES ON `db_name`.* TO 'db_name'@'%';
FLUSH PRIVILEGES;
UPDATE mysql.user SET Host = '%' where User = 'db_name'; FLUSH PRIVILEGES;
SET PASSWORD FOR 'db_name'@'%' = PASSWORD('db_password'); FLUSH PRIVILEGES;
GRANT ALL PRIVILEGES ON `db_name`.* TO 'db_name'@'%'; FLUSH PRIVILEGES;
```
### Visual Studio Code Python Debugging