MySQL 8.3 C API Developer Guide
5.4.28 mysql_get_character_set_info() ......................................................................... 58
5.4.29 mysql_get_client_info() ..................................................................................... 59
5.4.30 mysql_get_client_version() ................................................................................ 59
5.4.31 mysql_get_host_info() ....................................................................................... 60
5.4.32 mysql_get_option() ........................................................................................... 60
5.4.33 mysql_get_proto_info() ...................................................................................... 61
5.4.34 mysql_get_server_info() .................................................................................... 61
5.4.35 mysql_get_server_version() ............................................................................... 62
5.4.36 mysql_get_ssl_cipher() ..................................................................................... 62
5.4.37 mysql_get_ssl_session_data() ........................................................................... 62
5.4.38 mysql_get_ssl_session_reused() ....................................................................... 63
5.4.39 mysql_hex_string() ............................................................................................ 63
5.4.40 mysql_info() ...................................................................................................... 64
5.4.41 mysql_init() ....................................................................................................... 65
5.4.42 mysql_insert_id() .............................................................................................. 65
5.4.43 mysql_library_end() .......................................................................................... 67
5.4.44 mysql_library_init() ............................................................................................ 67
5.4.45 mysql_list_dbs() ................................................................................................ 68
5.4.46 mysql_list_tables() ............................................................................................ 69
5.4.47 mysql_more_results() ........................................................................................ 69
5.4.48 mysql_next_result() ........................................................................................... 70
5.4.49 mysql_num_fields() ........................................................................................... 71
5.4.50 mysql_num_rows() ............................................................................................ 72
5.4.51 mysql_options() ................................................................................................ 72
5.4.52 mysql_options4() .............................................................................................. 80
5.4.53 mysql_ping() ..................................................................................................... 82
5.4.54 mysql_query() ................................................................................................... 82
5.4.55 mysql_real_connect() ........................................................................................ 83
5.4.56 mysql_real_connect_dns_srv() .......................................................................... 87
5.4.57 mysql_real_escape_string() ............................................................................... 88
5.4.58 mysql_real_escape_string_quote() ..................................................................... 90
5.4.59 mysql_real_query() ........................................................................................... 91
5.4.60 mysql_reset_connection() .................................................................................. 92
5.4.61 mysql_reset_server_public_key() ....................................................................... 92
5.4.62 mysql_result_metadata() ................................................................................... 93
5.4.63 mysql_rollback() ............................................................................................... 93
5.4.64 mysql_row_seek() ............................................................................................. 94
5.4.65 mysql_row_tell() ............................................................................................... 94
5.4.66 mysql_select_db() ............................................................................................. 94
5.4.67 mysql_server_end() .......................................................................................... 95
5.4.68 mysql_server_init() ............................................................................................ 95
5.4.69 mysql_session_track_get_first() ......................................................................... 96
5.4.70 mysql_session_track_get_next() ...................................................................... 101
5.4.71 mysql_set_character_set() ............................................................................... 101
5.4.72 mysql_set_local_infile_default() ....................................................................... 102
5.4.73 mysql_set_local_infile_handler() ...................................................................... 102
5.4.74 mysql_set_server_option() ............................................................................... 103
5.4.75 mysql_sqlstate() .............................................................................................. 104
5.4.76 mysql_stat() .................................................................................................... 105
5.4.77 mysql_store_result() ........................................................................................ 105
5.4.78 mysql_thread_id() ........................................................................................... 107
5.4.79 mysql_use_result() .......................................................................................... 107
5.4.80 mysql_warning_count() ................................................................................... 108
6 C API Prepared Statement Interface ....................................................................................... 109
6.1 Overview of the C API Prepared Statement Interface .................................................... 110
6.2 C API Prepared Statement Data Structures .................................................................. 111
6.2.1 C API Prepared Statement Type Codes ............................................................ 115
6.2.2 C API Prepared Statement Type Conversions .................................................... 117
iv