Commit 5e07a647 authored by Jérome Perrin's avatar Jérome Perrin

Revert "force connexion params"

This reverts commit 0806c1deb0d0a3dd8ef6e1b2f8e8fd4323ec705d.
parent 6f487218
...@@ -250,12 +250,6 @@ class DB(TM): ...@@ -250,12 +250,6 @@ class DB(TM):
self.db.close() self.db.close()
def _forceReconnection(self): def _forceReconnection(self):
#-pinsecure -h127.0.0.1 -uerp5_test -P45678 erp5_test
self._kw_args['host'] = '127.0.0.1'
self._kw_args['port'] = 45678
self._kw_args['db'] = 'erp5_test'
self._kw_args['user'] = 'erp5_test'
self._kw_args['passwd'] = 'insecure'
self.db = MySQLdb.connect(**self._kw_args) self.db = MySQLdb.connect(**self._kw_args)
def tables(self, rdb=0, def tables(self, rdb=0,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment