Original Post
Hey everyone,
I'm using MySQL Connector/C to connect to my local MySQL database. It keeps saying:
Even when I fill out all the information, like:
I find it strange it says "'localhost' (0)", since I explicitly specified a port number.
Thanks in advance!
I'm using MySQL Connector/C to connect to my local MySQL database. It keeps saying:
Quote:
Can't connect to MySQL server on 'localhost' (0)
Even when I fill out all the information, like:
mysql_real_connect(&mysql, "localhost", "root", "", "abelcorver_com", 3306, "C:/xampp/mysql/mysql.sock", 0)I find it strange it says "'localhost' (0)", since I explicitly specified a port number.
Thanks in advance!