Documentation Home
MySQL 8.0 C API Developer Guide
Download this Manual
PDF (US Ltr) - 1.3Mb
PDF (A4) - 1.3Mb
HTML Download (TGZ) - 165.5Kb
HTML Download (Zip) - 176.0Kb


5.4.8 mysql_connect()

MYSQL *
mysql_connect(MYSQL *mysql,
              const char *host,
              const char *user,
              const char *passwd)

Description

This function is deprecated. Use mysql_real_connect() instead.