MariaDB client API
Next
MariaDB client API
Table of Contents
Function reference
mysql_affected_rows
— Returns the number of affected rows in previous server operation
mysql_autocommit
— Toggles autocommit mode on or off
mysql_change_user
— Changes the user of the current database connection
mysql_character_set_name
— returns the name of the current client character set
mysql_close
— Closes a previously opened connection
mysql_commit
— Commits the currenct transaction
mysql_data_seek
— Adjusts the result pointer to an arbitrary row in the result
mysql_debug
— Enables debug logging
mysql_dump_debug_info
— Dump server status information
mysql_errno
— Returns the error code for the most recent function call
mysql_error
— Returns a string description of the last error
mysql_escape_string
— escapes a string using the default character set
mysql_fetch_field
— Returns the next field in the result set.
mysql_fetch_field_direct
— Fetch meta data for a single field
mysql_fetch_fields
— Returns an array of fields representing the fields in a result set
mysql_fetch_lengths
— Returns the length of the columns of the current row
mysql_fetch_row
— Get a row from result set
mysql_field_count
— Returns the number of fields for the most recent query
mysql_field_seek
— Sets field cursor to a specified field offset
mysql_field_tell
— Get current offset of the field cursor
mysql_free_result
— Frees the memory associated to a result set
mysql_get_character_set_info
— Returns information about the current active character set.
mysql_get_client_info
— Get client library info
mysql_get_client_version
— Returns a number representing the client library version
mysql_get_host_info
— Returns host information
mysql_get_proto_info
— Returns the protocol version number
mysql_get_server_info
— Get server info
mysql_get_server_version
— Get numeric server version
mysql_get_ssl_cipher
— @function_short_description@
mysql_hex_string
— Converts a string into hexadecimal format
mysql_info
— retrieves information about the most recently executed query
mysql_init
— Initialize a connection
mysql_insert_id
— Returns the auto generated id used in the last query
mysql_kill
— Asks the server to kill a connection thread.
mysql_more_results
— Check if there are any more query results from a multi query
mysql_next_result
— Prepares next result set from a multi query
mysql_num_fields
— returns number of fields in a result set
mysql_num_rows
— Returns number of rows in a result set.
mysql_options
— Set options
mysql_ping
— Pings a server connection
mysql_query
— performs a query on the database
mysql_real_connect
— Establish a connection to database server
mysql_real_escape_string
— Escapes special characters in a string
mysql_real_query
— performs a query on the database
mysql_refresh
— flush server information
mysql_rollback
— Rolls back current transaction
mysql_row_seek
— Positions row cursor
mysql_row_tell
— Returns position of result cursor
mysql_select_db
— Selects a database as default
mysql_send_query
— @function_short_description@
mysql_server_end
— An alias for
mysql_library_end()
mysql_server_init
— An alias for
mysql_library_init()
mysql_set_character_set
— Sets the default client character set@
mysql_set_server_option
— Enables or disables server option
mysql_shutdown
— Shutdowns the database server
mysql_sqlstate
— Returns sqlstate error
mysql_ssl_set
— @function_short_description@
mysql_stat
— returns system status
mysql_stmt_affected_rows
— Returns the number of affected rows from previous executed prepared statement
mysql_stmt_attr_get
— Used to get the current value of a statement attribute
mysql_stmt_attr_set
— Modifies the behavior of a prepared statement
mysql_stmt_bind_param
— Binds parameter variables to a prepared statement
mysql_stmt_bind_result
— Binds variables to a prepared statement for result storage
mysql_stmt_close
— Closes a prepared statement
mysql_stmt_data_seek
— Seeks to an arbitrary row in statement result set
mysql_stmt_errno
— Returns the error number for the most recent prepared statement call
mysql_stmt_error
— Returns a string description for last statement error
mysql_stmt_execute
— Executes a prepared statement
mysql_stmt_fetch
— Fetches result buffer into bound buffer
mysql_stmt_fetch_column
— Fetches a single column in to a bind buffer
mysql_stmt_field_count
— Returns the number of fields in a result set of a prepared statement
mysql_stmt_free_result
— Frees stored result memory of a prepared statement
mysql_stmt_init
— Initializes a prepared statement
mysql_stmt_insert_id
— Get the auto generated id from previously executed prepared statement.
mysql_stmt_next_result
— @function_short_description@
mysql_stmt_num_rows
— Returns the number of rows in a prepared statement result set
mysql_stmt_param_count
— Returns the number of parameter for the given statement
mysql_stmt_param_metadata
— @function_short_description@
mysql_stmt_prepare
— Prepares a SQL statement for execution
mysql_stmt_reset
— Resets a prepared statement.
mysql_stmt_result_metadata
— Returns result set metadata from a prepared statement
mysql_stmt_row_seek
— Positions row cursors
mysql_stmt_row_tell
— Returns position of result cursor
mysql_stmt_send_long_data
— Send data in chunks
mysql_stmt_sqlstate
— returns SQLSTATE error from previous statement operation
mysql_stmt_store_result
— Transfers a result set from a prepared statement
mysql_store_result
— Returns a buffered resultset from the last executed query
mysql_thread_end
— release thread specific memory for multi threaded client application
mysql_thread_id
— Returns the thread id for the current connection
mysql_thread_init
— Thread initialization for multi threaded clients
mysql_thread_safe
— Returns whether thread safety is given or not
mysql_use_result
— Initiate an unbuffered result set retrieval
mysql_warning_count
— Returns the number of warnings from the last executed query
Function reference