c++ mysql connection failure -
i try connect mysql database c++ won't connect , cant figure out why. instance of mysql object initialised , tried connect database java , php , worked...
the mysql server not hosted me, it's hosted german server provider suggest on server side ok.
also libs , includes linked correct since initialisation of mysql instance works fine. mysql version use 5.0.x
this line of code try connect database:
mysql *connect = mysql_init(null); mysql_real_connect(connect, "xxxxx.db.1and1.com", "dboxxxxxx", "xxxxxx", "dbxxxxxx", 0, null, 0);
Comments
Post a Comment