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: