MYSQL *mysql_connect(MYSQL *mysql, const char *host, const char *user, const char *passwd)
mysql_connect is deprecated please use mysql_real_connect instead same usage like mysql_real_connect