Skip to content

Commit

Permalink
fixed password->passwd is mysql
Browse files Browse the repository at this point in the history
  • Loading branch information
mdipierro committed Apr 12, 2019
1 parent cecd771 commit 37784cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pydal/adapters/mysql.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 37784cb

Please sign in to comment.