Chapter 5 Original MySQL API

Table of Contents

5.1 Installing/Configuring
5.1.1 Requirements
5.1.2 Installation
5.1.3 Runtime Configuration
5.1.4 Resource Types
5.2 Changelog
5.3 Predefined Constants
5.4 Examples
5.4.1 MySQL extension overview example
5.5 MySQL Functions
5.5.1 mysql_affected_rows
5.5.2 mysql_client_encoding
5.5.3 mysql_close
5.5.4 mysql_connect
5.5.5 mysql_create_db
5.5.6 mysql_data_seek
5.5.7 mysql_db_name
5.5.8 mysql_db_query
5.5.9 mysql_drop_db
5.5.10 mysql_errno
5.5.11 mysql_error
5.5.12 mysql_escape_string
5.5.13 mysql_fetch_array
5.5.14 mysql_fetch_assoc
5.5.15 mysql_fetch_field
5.5.16 mysql_fetch_lengths
5.5.17 mysql_fetch_object
5.5.18 mysql_fetch_row
5.5.19 mysql_field_flags
5.5.20 mysql_field_len
5.5.21 mysql_field_name
5.5.22 mysql_field_seek
5.5.23 mysql_field_table
5.5.24 mysql_field_type
5.5.25 mysql_free_result
5.5.26 mysql_get_client_info
5.5.27 mysql_get_host_info
5.5.28 mysql_get_proto_info
5.5.29 mysql_get_server_info
5.5.30 mysql_info
5.5.31 mysql_insert_id
5.5.32 mysql_list_dbs
5.5.33 mysql_list_fields
5.5.34 mysql_list_processes
5.5.35 mysql_list_tables
5.5.36 mysql_num_fields
5.5.37 mysql_num_rows
5.5.38 mysql_pconnect
5.5.39 mysql_ping
5.5.40 mysql_query
5.5.41 mysql_real_escape_string
5.5.42 mysql_result
5.5.43 mysql_select_db
5.5.44 mysql_set_charset
5.5.45 mysql_stat
5.5.46 mysql_tablename
5.5.47 mysql_thread_id
5.5.48 mysql_unbuffered_query

Copyright 1997-2014 the PHP Documentation Group.

This extension is deprecated as of PHP 5.5.0, and has been removed as of PHP 7.0.0. Instead, either the mysqli or PDO_MySQL extension should be used. See also the MySQL API Overview for further help while choosing a MySQL API.

These functions allow you to access MySQL database servers. More information about MySQL can be found at http://www.mysql.com/.

Documentation for MySQL can be found at http://dev.mysql.com/doc/.