Update README.md
This commit is contained in:
parent
b8ecafcf5b
commit
00ad94fbe4
1 changed files with 2 additions and 0 deletions
|
@ -5,6 +5,8 @@ Needs a mysql database:
|
||||||
|
|
||||||
````
|
````
|
||||||
mysql -e "CREATE DATABASE weather"
|
mysql -e "CREATE DATABASE weather"
|
||||||
|
mysql -e "CREATE USER 'weather'@'localhost' IDENTIFIED BY 'password'"
|
||||||
|
mysql -e "GRANT ALL PRIVILEGES ON weather.* TO 'weather'@'localhost'"
|
||||||
mysql weather < weather.sql
|
mysql weather < weather.sql
|
||||||
vim weather.ini
|
vim weather.ini
|
||||||
./getweather.py
|
./getweather.py
|
||||||
|
|
Loading…
Add table
Reference in a new issue