MySQLDatabase return "using password: NO" when password is provided
See original GitHub issueVersion: 3.5.0
I’m trying to validate my connection via MySQLDatabase
on a fresh MySQL server (added a user with permission to specified database) but it’s not accepting a password:
>>> db = MySQLDatabase('database', user='username', password='***')
>>> db.get_tables()
(1045, "Access denied for user 'username'@'localhost' (using password: NO)")
I checked db.__dict__['connect_params']['password']
and it exist there.This differs from another MySQL server which uses peewee@3.2.2, succeeds to connect.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:13 (5 by maintainers)
Top Results From Across the Web
4.14 Troubleshooting Problems Connecting to MySQL
For example, if you get an error message that contains using password: NO , it means that you tried to log in without...
Read more >SQL Server link to MySQL reports "using password: no"
The password is most definitely set, and works just fine in MySQL Workbench. It's an admin on MySQL. Both machines are local. I...
Read more >mysql is prompting for password even though my password is ...
it prompts for password and without providing any input I just hit enter and it works. Now I need to perform some operation...
Read more >General Security Issues and the MySQL Access Privilege ...
Do not keep any plain-text passwords in your database. When your computer becomes compromised, the intruder can take the full list of passwords...
Read more >How to set, change, and recover your MySQL root password
Chances are you have MySQL running somewhere in your data center. If that's the case, there might be a time when you need...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I had exact the same issue with
and simple upgrade
pip install pymysql --upgrade
to0.9.3
version resolved it.yes
On Thu, Nov 14, 2019 at 8:05 PM Charles Leifer notifications@github.com wrote: