Skip to content

mysql_real_connect_non_block

Georg Richter edited this page Sep 18, 2018 · 1 revision

Name

mysql_real_connect_start, mysql_real_connect_cont - establishes a connection to a MariaDB database server

Synopsis

#include <mysql.h>

int mysql_real_connect_start(MYSQL **ret,
                             MYSQL *mysql,
                             const char *host,
                             const char *user,
                             const char *passwd,
                             const char *db,
                             unsigned int port,
                             const char *unix_socket,
                             unsigned long client_flags);

int mysql_real_connect_cont(MYSQL **ret, 
                            MYSQL *mysql,
                            int ready_status);

Description

mysql_real_connect_start() initiates a non-blocking connection request to a server.
mysql_real_connect_cont()

Clone this wiki locally