Text Version (925k)
Please note, the MySQL manual itself is a single 1MB HTML file. It will take at least 3-5 minutes to download over modem. We recommend printing it out for repeated reference.
- 1 General Information about MySQL
- 2 MySQL mailing lists and how to ask questions or report errors (bugs)
- 3 Licensing or When do I have/want to pay for MySQL?
- 3.1 How much MySQL costs
- 3.2 How to get commercial support
- 3.3 How to pay for licenses or support
- 3.4 Who to contact for more information about licensing or support
- 3.5 What copyrights MySQL uses
- 3.6 When you may distribute MySQL commercially without a fee
- 3.7 Selling a product that can be configured to use MySQL
- 3.8 Running a commercial web server using MySQL
- 3.9 Selling commercial Perl/Tcl/PHP/etc. applications
- 3.10 Possible future changes in the licensing
- 4 Installing MySQL
- 4.1 How to get MySQL
- 4.2 Operating systems supported by MySQL
- 4.3 Which MySQL version to use
- 4.4 How and when updates are released
- 4.5 Installation layouts
- 4.6 Installing a MySQL binary distribution
- 4.7 Installing a MySQL source distribution
- 4.8 Problems compiling?
- 4.9 MIT-pthreads notes
- 4.10 Perl installation comments
- 4.11 System-specific notes
- 4.11.1 Solaris notes
- 4.11.2 Solarix x86 notes
- 4.11.3 SunOS 4 notes
- 4.11.4 Linux notes (all Linux versions)
- 4.11.5 Linux RPM notes
- 4.11.6 Alpha-DEC-Unix notes
- 4.11.7 Alpha-DEC-OSF1 notes
- 4.11.8 SGI-IRIX notes
- 4.11.9 FreeBSD notes
- 4.11.10 BSD/OS 2.# notes
- 4.11.11 SCO notes
- 4.11.12 SCO Unixware 7.0 notes
- 4.11.13 IBM-AIX notes
- 4.11.14 HP-UX notes
- 4.12 TcX binaries
- 4.13 Win32 notes
- 4.14 Post-installation setup and testing
- 4.15 Is there anything special to do when upgrading/downgrading MySQL?
- 5 How standards-compatible is MySQL?
- 6 The MySQL access privilege system
- 6.1 What the privilege system does
- 6.2 Connecting to the MySQL server
- 6.3 Privileges provided by MySQL
- 6.4 How the privilege system works
- 6.5 Access control, stage 1: Connection verification
- 6.6 Access control, stage 2: Request verification
- 6.7 When privilege changes take effect
- 6.8 Setting up the initial MySQL privileges
- 6.9 Adding new user privileges to MySQL
- 6.10 How to set up passwords
- 6.11 Causes of
Access denied
errors - 6.12 How to make MySQL secure against crackers
- 7 MySQL language reference
- 7.1 Literals: how to write strings and numbers
- 7.2 Column types
- 7.3 Functions for use in
SELECT
andWHERE
clauses- 7.3.1 Grouping functions
- 7.3.2 Normal arithmetic operations
- 7.3.3 Bit functions
- 7.3.4 Logical operations
- 7.3.5 Comparison operators
- 7.3.6 String comparison functions
- 7.3.7 Control flow functions
- 7.3.8 Mathematical functions
- 7.3.9 String functions
- 7.3.10 Date and time functions
- 7.3.11 Miscellaneous functions
- 7.3.12 Functions for use with
GROUP BY
clauses
- 7.4
CREATE DATABASE
syntax - 7.5
DROP DATABASE
syntax - 7.6
CREATE TABLE
syntax - 7.7
ALTER TABLE
syntax - 7.8
OPTIMIZE TABLE
syntax - 7.9
DROP TABLE
syntax - 7.10
DELETE
syntax - 7.11
SELECT
syntax - 7.12
JOIN
syntax - 7.13
INSERT
syntax - 7.14
REPLACE
syntax - 7.15
LOAD DATA INFILE
syntax - 7.16
UPDATE
syntax - 7.17
USE
syntax - 7.18
FLUSH
syntax (clearing caches) - 7.19
KILL
syntax - 7.20
SHOW
syntax (Get information about tables, columns...) - 7.21
EXPLAIN
syntax (Get information about aSELECT
) - 7.22
DESCRIBE
syntax (Get information about columns) - 7.23
LOCK TABLES/UNLOCK TABLES
syntax - 7.24
SET OPTION
syntax - 7.25
GRANT
andREVOKE
syntax - 7.26
CREATE INDEX
syntax (Compatibility function) - 7.27
DROP INDEX
syntax (Compatibility function) - 7.28 Comment syntax
- 7.29
CREATE FUNCTION/DROP FUNCTION
syntax - 7.30 Is MySQL picky about reserved words?
- 8 Example SQL queries
- 9 MySQL Server functions
- 10 Getting maximum performance from MySQL
- 10.1 Changing the size of MySQL buffers
- 10.2 How MySQL uses memory
- 10.3 How compiling and linking affects the speed of MySQL
- 10.4 How MySQL uses indexes
- 10.5 How MySQL optimizes
WHERE
clauses - 10.6 How MySQL opens and closes tables
- 10.7 Why so many open tables?
- 10.8 Using symbolic links for databases and tables
- 10.9 How MySQL locks tables
- 10.10 How to arrange a table to be as fast/small as possible
- 10.11 Factors affecting the speed of
INSERT
statements - 10.12 Factors affecting the speed of
DELETE
statements - 10.13 How do I get MySQL to run at full speed?
- 10.14 What are the different row formats? Or, when should
VARCHAR/CHAR
be used?
- 11 The MySQL benchmark suite
- 12 MySQL Utilites
- 13 Using
isamchk
for table maintenance and crash recovery - 14 Adding new functions to MySQL
- 15 MySQL ODBC Support
- 16 Problems and common errors
- 16.1 Some common errors when using MySQL
- 16.1.1
MySQL server has gone away
error - 16.1.2
Can't connect to local MySQL server
error - 16.1.3
Host '...' is blocked
error - 16.1.4
Out of memory
error - 16.1.5
Packet too large
error - 16.1.6
The table is full
error - 16.1.7
Commands out of sync
error in client - 16.1.8
Ignoring user
error - 16.1.9
Table 'xxx' doesn't exist
error
- 16.1.1
- 16.2 How MySQL handles a full disk
- 16.3 How to run SQL commands from a text file
- 16.4 Where MySQL stores temporary files
- 16.5 How to protect `/tmp/mysql.sock' from being deleted
- 16.6
Access denied
error - 16.7 How to run MySQL as a normal user
- 16.8 Problems with file permissions
- 16.9 File not found
- 16.10 Problems using
DATE
columns - 16.11 Case sensitivity in searches
- 16.12 Problems with
NULL
values - 16.13 Problems with
alias
- 16.14 Deleting rows from related tables
- 16.15 Solving problems with no matching rows
- 16.16 Problems with
ALTER TABLE
.
- 16.1 Some common errors when using MySQL
- 17 Solving some common problems with MySQL
- 18 MySQL client tools and API's
- 18.1 MySQL C API
- 18.2 C API datatypes
- 18.3 C API function overview
- 18.4 C API function descriptions
- 18.4.1
mysql_affected_rows()
- 18.4.2
mysql_close()
- 18.4.3
mysql_connect()
- 18.4.4
mysql_create_db()
- 18.4.5
mysql_data_seek()
- 18.4.6
mysql_debug()
- 18.4.7
mysql_drop_db()
- 18.4.8
mysql_dump_debug_info()
- 18.4.9
mysql_eof()
- 18.4.10
mysql_errno()
- 18.4.11
mysql_error()
- 18.4.12
mysql_escape_string()
- 18.4.13
mysql_fetch_field()
- 18.4.14
mysql_fetch_fields()
- 18.4.15
mysql_fetch_field_direct()
- 18.4.16
mysql_fetch_lengths()
- 18.4.17
mysql_fetch_row()
- 18.4.18
mysql_field_seek()
- 18.4.19
mysql_field_tell()
- 18.4.20
mysql_free_result()
- 18.4.21
mysql_get_client_info()
- 18.4.22
mysql_get_host_info()
- 18.4.23
mysql_get_proto_info()
- 18.4.24
mysql_get_server_info()
- 18.4.25
mysql_info()
- 18.4.26
mysql_init()
- 18.4.27
mysql_insert_id()
- 18.4.28
mysql_kill()
- 18.4.29
mysql_list_dbs()
- 18.4.30
mysql_list_fields()
- 18.4.31
mysql_list_processes()
- 18.4.32
mysql_list_tables()
- 18.4.33
mysql_num_fields()
- 18.4.34
mysql_num_rows()
- 18.4.35
mysql_ping()
- 18.4.36
mysql_query()
- 18.4.37
mysql_real_connect()
- 18.4.38
mysql_real_query()
- 18.4.39
mysql_reload()
- 18.4.40
mysql_row_tell()
- 18.4.41
mysql_select_db()
- 18.4.42
mysql_shutdown()
- 18.4.43
mysql_stat()
- 18.4.44
mysql_store_result()
- 18.4.45
mysql_thread_id()
- 18.4.46
mysql_use_result()
- 18.4.47 Why is it that after
mysql_query()
returns success,mysql_store_result()
sometimes returnsNULL?
- 18.4.48 What results can I get from a query?
- 18.4.49 How can I get the unique ID for the last inserted row?
- 18.4.50 Problems linking with the C API
- 18.4.51 How to make a thread-safe client
- 18.4.1
- 18.5 MySQL Perl API's
- 18.6 MySQL Java connectivity (JDBC)
- 18.7 MySQL PHP API's
- 18.8 MySQL C++ API's
- 18.9 MySQL Python API's
- 18.10 MySQL TCL API's
- 19 How MySQL compares to other databases
- A Some MySQL users
- B Contributed programs
- C Contributors to MySQL
- D MySQL change history
- 19.3 Changes in release 3.22.x (Beta version)
- 19.3.1 Changes in release 3.22.14
- 19.3.2 Changes in release 3.22.13
- 19.3.3 Changes in release 3.22.12
- 19.3.4 Changes in release 3.22.11
- 19.3.5 Changes in release 3.22.10
- 19.3.6 Changes in release 3.22.9
- 19.3.7 Changes in release 3.22.8
- 19.3.8 Changes in release 3.22.7
- 19.3.9 Changes in release 3.22.6
- 19.3.10 Changes in release 3.22.5
- 19.3.11 Changes in release 3.22.4
- 19.3.12 Changes in release 3.22.3
- 19.3.13 Changes in release 3.22.2
- 19.3.14 Changes in release 3.22.1
- 19.3.15 Changes in release 3.22.0
- 19.4 Changes in release 3.21.x
- 19.4.1 Changes in release 3.21.33
- 19.4.2 Changes in release 3.21.32
- 19.4.3 Changes in release 3.21.31
- 19.4.4 Changes in release 3.21.30
- 19.4.5 Changes in release 3.21.29
- 19.4.6 Changes in release 3.21.28
- 19.4.7 Changes in release 3.21.27
- 19.4.8 Changes in release 3.21.26
- 19.4.9 Changes in release 3.21.25
- 19.4.10 Changes in release 3.21.24
- 19.4.11 Changes in release 3.21.23
- 19.4.12 Changes in release 3.21.22
- 19.4.13 Changes in release 3.21.21a
- 19.4.14 Changes in release 3.21.21
- 19.4.15 Changes in release 3.21.20
- 19.4.16 Changes in release 3.21.19
- 19.4.17 Changes in release 3.21.18
- 19.4.18 Changes in release 3.21.17
- 19.4.19 Changes in release 3.21.16
- 19.4.20 Changes in release 3.21.15
- 19.4.21 Changes in release 3.21.14b
- 19.4.22 Changes in release 3.21.14a
- 19.4.23 Changes in release 3.21.13
- 19.4.24 Changes in release 3.21.12
- 19.4.25 Changes in release 3.21.11
- 19.4.26 Changes in release 3.21.10
- 19.4.27 Changes in release 3.21.9
- 19.4.28 Changes in release 3.21.8
- 19.4.29 Changes in release 3.21.7
- 19.4.30 Changes in release 3.21.6
- 19.4.31 Changes in release 3.21.5
- 19.4.32 Changes in release 3.21.4
- 19.4.33 Changes in release 3.21.3
- 19.4.34 Changes in release 3.21.2
- 19.4.35 Changes in release 3.21.0
- 19.5 Changes in release 3.20.x
- 19.5.1 Changes in release 3.20.18
- 19.5.2 Changes in release 3.20.17
- 19.5.3 Changes in release 3.20.16
- 19.5.4 Changes in release 3.20.15
- 19.5.5 Changes in release 3.20.14
- 19.5.6 Changes in release 3.20.13
- 19.5.7 Changes in release 3.20.11
- 19.5.8 Changes in release 3.20.10
- 19.5.9 Changes in release 3.20.9
- 19.5.10 Changes in release 3.20.8
- 19.5.11 Changes in release 3.20.7
- 19.5.12 Changes in release 3.20.6
- 19.5.13 Changes in release 3.20.3
- 19.5.14 Changes in release 3.20.0
- 19.6 Changes in release 3.19.x
- 19.3 Changes in release 3.22.x (Beta version)
- E Known errors and design deficiencies in MySQL
- F List of things we want to add to MySQL in the future (The TODO)
- G Comments on porting to other systems
- H Description of MySQL regular expression syntax
- I What is Unireg?
- J The MySQL server license for non Microsoft operating systems
- K The MySQL license for Microsoft operating systems
- SQL command, type and function index
- Concept Index
This document was generated on 1 January 1999 using the texi2html translator version 1.52 (extended by davida@detron.se).