diff options
author | 2011-05-12 23:46:14 +0530 | |
---|---|---|
committer | 2011-05-12 23:46:14 +0530 | |
commit | f71aa99801b8588d9060feee06f501c18613cfa6 (patch) | |
tree | 20b8bffb59c4fd91fd8cd5591b7eccd01af842d6 /server | |
parent | fixes after code review (diff) | |
download | gentoostats-f71aa99801b8588d9060feee06f501c18613cfa6.tar.gz gentoostats-f71aa99801b8588d9060feee06f501c18613cfa6.tar.bz2 gentoostats-f71aa99801b8588d9060feee06f501c18613cfa6.zip |
added setup instructions
Diffstat (limited to 'server')
-rwxr-xr-x | server/main.py | 4 | ||||
-rw-r--r-- | server/sql/init.sql | 2 | ||||
-rw-r--r-- | server/sql/setup.sql | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/server/main.py b/server/main.py index 7796aba..08b8509 100755 --- a/server/main.py +++ b/server/main.py @@ -13,8 +13,8 @@ urls = ( db = web.database( dbn='mysql', - user='vh4x0r', - pw='vh4x0r', + user='gentoo', + pw='gentoo', db='gentoostats' ) diff --git a/server/sql/init.sql b/server/sql/init.sql index 68d309f..c0588cd 100644 --- a/server/sql/init.sql +++ b/server/sql/init.sql @@ -1,5 +1,5 @@ --- run as 'vh4x0r'@'localhost' identified by 'vh4x0r' +-- run as 'gentoo'@'localhost' identified by 'gentoo' use gentoostats; drop table if exists hosts; diff --git a/server/sql/setup.sql b/server/sql/setup.sql index 98126d7..f57ed9b 100644 --- a/server/sql/setup.sql +++ b/server/sql/setup.sql @@ -1,3 +1,3 @@ -- run as root create database gentoostats; -grant all on gentoostats.* to 'vh4x0r'@'localhost' identified by 'vh4x0r'; +grant all on gentoostats.* to 'gentoo'@'localhost' identified by 'gentoo'; |