MySQL 5.6 C API Developer Guide
MYSQL * mysql_connect(MYSQL *mysql, const char *host, const char *user, const char *passwd)
This function is deprecated. Use mysql_real_connect() instead.
mysql_real_connect()