C API Function Overview
2141
Function
Description
mysql_info()
Returns information about the most recently executed query
mysql_init()
Gets or initializes a
MYSQL
structure
mysql_insert_id()
Returns the ID generated for an
AUTO_INCREMENT
column by the
previous query
mysql_kill()
Kills a given thread
mysql_library_end()
Finalize the MySQL C API library
mysql_library_init()
Initialize the MySQL C API library
mysql_list_dbs()
Returns database names matching a simple regular expression
mysql_list_fields()
Returns field names matching a simple regular expression
mysql_list_processes()
Returns a list of the current server threads
mysql_list_tables()
Returns table names matching a simple regular expression
mysql_more_results()
Checks whether any more results exist
mysql_next_result()
Returns/initiates the next result in multiple-result executions
mysql_num_fields()
Returns the number of columns in a result set
mysql_num_rows()
Returns the number of rows in a result set
mysql_options()
Sets connect options for
mysql_real_connect()
mysql_ping()
Checks whether the connection to the server is working,
reconnecting as necessary
mysql_query()
Executes an SQL query specified as a null-terminated string
mysql_real_connect()
Connects to a MySQL server
mysql_real_escape_string()
Escapes special characters in a string for use in an SQL statement,
taking into account the current character set of the connection
mysql_real_query()
Executes an SQL query specified as a counted string
mysql_refresh()
Flush or reset tables and caches
mysql_reload()
Tells the server to reload the grant tables
mysql_rollback()
Rolls back the transaction
mysql_row_seek()
Seeks to a row offset in a result set, using value returned from
mysql_row_tell()
mysql_row_tell()
Returns the row cursor position
mysql_select_db()
Selects a database
mysql_server_end()
Finalize the MySQL C API library
mysql_server_init()
Initialize the MySQL C API library
mysql_set_character_set()
Set default character set for current connection
mysql_set_local_infile_default()
Set the
LOAD DATA LOCAL INFILE
handler callbacks to their
default values
mysql_set_local_infile_handler()
Install application-specific
LOAD DATA LOCAL INFILE
handler
callbacks
mysql_set_server_option()
Sets an option for the connection (like
multi-statements
)
mysql_sqlstate()
Returns the SQLSTATE error code for the last error
mysql_shutdown()
Shuts down the database server
mysql_ssl_set()
Prepare to establish SSL connection to server
mysql_stat()
Returns the server status as a string
Содержание 5.0
Страница 1: ...MySQL 5 0 Reference Manual ...
Страница 18: ...xviii ...
Страница 60: ...40 ...
Страница 396: ...376 ...
Страница 578: ...558 ...
Страница 636: ...616 ...
Страница 844: ...824 ...
Страница 1234: ...1214 ...
Страница 1426: ...MySQL Proxy Scripting 1406 The following diagram shows an overview of the classes exposed by MySQL Proxy ...
Страница 1427: ...MySQL Proxy Scripting 1407 ...
Страница 1734: ...1714 ...
Страница 1752: ...1732 ...
Страница 1783: ...Configuring Connector ODBC 1763 ...
Страница 1793: ...Connector ODBC Examples 1773 ...
Страница 1839: ...Connector Net Installation 1819 2 You must choose the type of installation to perform ...
Страница 1842: ...Connector Net Installation 1822 5 Once the installation has been completed click Finish to exit the installer ...
Страница 1864: ...Connector Net Visual Studio Integration 1844 Figure 20 24 Debug Stepping Figure 20 25 Function Stepping 1 of 2 ...
Страница 2850: ...2830 ...
Страница 2854: ...2834 ...
Страница 2928: ...2908 ...
Страница 3000: ...2980 ...
Страница 3122: ...3102 ...
Страница 3126: ...3106 ...
Страница 3174: ...3154 ...
Страница 3232: ...3212 ...