From 37784cb6aaa37340eb706eb550164a3f56be4186 Mon Sep 17 00:00:00 2001 From: mdipierro Date: Thu, 11 Apr 2019 20:59:26 -0700 Subject: [PATCH] fixed password->passwd is mysql --- pydal/adapters/mysql.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pydal/adapters/mysql.py b/pydal/adapters/mysql.py index e0e14573e..9d44fa0d5 100644 --- a/pydal/adapters/mysql.py +++ b/pydal/adapters/mysql.py @@ -41,7 +41,7 @@ def _initialize_(self, do_connect): charset = m.group('charset') or 'utf8' self.driver_args.update(user=user, db=db, charset=charset) if password is not None: - self.driver_args['password'] = password + self.driver_args['passwd'] = password if socket: self.driver_args['unix_socket'] = socket else: