commit c9846860dc81b3d935e65b829ffc5e11bbc57225
parent 79217326bef111041542932a765f5306fba4dbfe
Author: Ovidiu Constantin <ovidiu@mybox.ro>
Date: Tue, 29 Nov 2011 23:44:10 +0200
* fix config file keys for MySQL.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/server/server.py b/server/server.py
@@ -513,7 +513,7 @@ if __name__ == '__main__':
if args.dbtype == 'sqlite3':
args.connect_args = { 'database' : config.get('database','database') }
elif args.dbtype == 'MySQLdb':
- args.connect_args = { 'db' : config.get('database','database'), 'user' : config.get('database','user'), 'passwd' : config.get('database','pass') }
+ args.connect_args = { 'db' : config.get('database','database'), 'user' : config.get('database','username'), 'passwd' : config.get('database','password') }
elif args.dbtype == 'psycopg2':
args.connect_args = { 'database' : config.get('database','database') }
store = MyStore(args)