1 --- ./mod_auth_mysql.c~ 1998-10-03 20:41:41.000000000 +0300
2 +++ ./mod_auth_mysql.c 2005-02-10 20:40:34.000000000 +0200
5 if (name != NULL) { /* open an SQL link */
6 /* link to the MySQL database and register its cleanup!@$ */
7 - mysql_auth = mysql_connect(&auth_sql_server, auth_db_host, user, pwd);
8 + mysql_auth = mysql_real_connect(&auth_sql_server, auth_db_host, user, pwd, NULL, MYSQL_PORT, NULL, 0);
9 if (sec->non_persistent && mysql_auth) {
10 note_cleanups_for_mysql_auth(r->pool, mysql_auth);