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

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -