'default password for mysql connection in python
I install mysql with pip install mysql-connector-python
but for connect in python i don't know what password
mysqldb=mysql.connector.connect(host="localhost",user="",password="",database="")
Solution 1:[1]
Don't use password, just use host. https://dev.mysql.com/doc/connector-python/en/connector-python-connectargs.html
(Btw. this is just connecting package, you need MySql server too - https://pypi.org/project/MySQL-python/)
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | pepeD |
