MySQL Forums
Forum List  »  Connector/C++

Re: “Can't connect … through socket '/tmp/mysql.sock' ” using C API mysql_real_connect()
Posted by: Peter Brawley
Date: January 15, 2021 12:34PM

The port argument appears to be zero, needs to be 3306, right?

If it's not that, let's see all values being passed to mysql_real_connect().

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: “Can't connect … through socket '/tmp/mysql.sock' ” using C API mysql_real_connect()
362
January 15, 2021 12:34PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.