I have a problem with mySQL
I installed it on my raspberry pi - python 3 virtual environment with the following command:
sudo pip install mysql-connector
I have the following script:
import mysql.connector
mydb = mysql.connector.connect(
host="127.0.0.1",
port="11300",
user="pi",
passwd="1234"
)
print(mydb)
But nothing happens, no error, no connection, ... I found the port number with the command 'netstat' under TCP connection