MySQL Forums
Forum List  »  Connector/C++

mysql connector c++ 8.0.20
Posted by: weiliang liu
Date: July 14, 2020 10:38PM

Hi, when i use c++ api connect to mysql server, it is conencted time out!!

computer: win7 sp1 vs2019 professional

code :
std::string user = "test";
std::string passwd = "123";
std::string ip = "localhost";

Session sess(ip, 3306, user, passwd);
Schema db = sess.getSchema("test");

i don't know what happend

Options: ReplyQuote


Subject
Views
Written By
Posted
mysql connector c++ 8.0.20
701
July 14, 2020 10:38PM
307
July 15, 2020 01:19AM
338
July 15, 2020 08:31AM
347
July 15, 2020 06:56PM


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.