Hello!
I tried to make a new connection in a localhost that has mariaDB running, when entering the credentials it throws me a connection error, it is not possible to connect, programming with Python something similar happened to me with the pymysql library, where I had to manually write the socket of MySql. eg:
connection = pymysql.connect (
unix_socket = "/ opt / lampp / var / mysql / mysql.sock",
host = 'localhost',
user = user,
passwd = pswd,
db = 'python',
But I don't know or can't find how to modify the socket path for the extension, could you help me please? Thanks!
Hello! I tried to make a new connection in a localhost that has mariaDB running, when entering the credentials it throws me a connection error, it is not possible to connect, programming with Python something similar happened to me with the pymysql library, where I had to manually write the socket of MySql. eg:
But I don't know or can't find how to modify the socket path for the extension, could you help me please? Thanks!