Create bookmark
MySQL in a Nutshell
Notes
Please login to add notes
- Table of Contents
-
+
Preface
-
+
Part I. Introduction and Tutorials
-
+
Part II. SQL Statements and Functions
- + Chapter 4. Security and User Statements and Functions
-
+
Chapter 5. Database and
Table Schema Statements
-
+
Statements and Clauses in Alphabetical Order
- ALTER DATABASE
- ALTER SCHEMA
- ALTER SERVER
-
+
ALTER TABLE
- ALTER TABLE: ADD clauses for columns
- ALTER TABLE: ADD clause for standard indexes
- ALTER TABLE: ADD clause for FULLTEXT indexes
- ALTER TABLE: ADD clause for SPATIAL indexes
- ALTER TABLE: ADD clauses for foreign keys
- ALTER TABLE: CHANGE clauses
- ALTER TABLE: DROP column clause
- ALTER TABLE: DROP index clauses
- + ALTER TABLE: Miscellaneous clauses
- ALTER TABLE: Partition altering clauses
- ALTER TABLE: Partition administration clauses
- ALTER TABLE: Table options
- ALTER VIEW
- CREATE DATABASE
- + CREATE INDEX
- CREATE SCHEMA
- CREATE SERVER
- + CREATE TABLE
- CREATE VIEW
- DESCRIBE
- DROP DATABASE
- DROP INDEX
- DROP SERVER
- DROP TABLE
- DROP VIEW
- RENAME DATABASE
- RENAME TABLE
- SHOW CHARACTER SET
- SHOW COLLATION
- SHOW COLUMNS
- SHOW CREATE DATABASE
- SHOW CREATE TABLE
- SHOW CREATE VIEW
- SHOW DATABASES
- SHOW INDEXES
- SHOW SCHEMAS
- SHOW TABLE STATUS
- SHOW TABLES
- SHOW VIEWS
-
+
Statements and Clauses in Alphabetical Order
-
+
Chapter 6. Data Manipulation
Statements and Functions
-
+
Chapter 7. Table
and Server Administration Statements and Functions
-
+
Statements and Clauses in Alphabetical Order
- ALTER SERVER
- ANALYZE TABLE
- BACKUP TABLE
- CACHE INDEX
- CHECK TABLE
- CHECKSUM TABLE
- CREATE SERVER
- FLUSH
- KILL
- LOAD INDEX INTO CACHE
- LOCK TABLES
- OPTIMIZE TABLE
- REPAIR TABLE
- RESET
- RESTORE TABLE
- SET
- SHOW ENGINE
- SHOW ENGINES
- SHOW OPEN TABLES
- SHOW PLUGINS
- SHOW PROCESSLIST
- SHOW STATUS
- SHOW TABLE STATUS
- SHOW VARIABLES
- UNLOCK TABLES
- + Functions in Alphabetical Order
-
+
Statements and Clauses in Alphabetical Order
-
+
Chapter 8. Replication Statements
and Functions
- Merits of Replication
- Replication Process
- The Replication User Account
- Configuring the Servers
- + Copying Databases and Starting Replication
- Starting Replication
- Backups with Replication
-
+
SQL Statements and Functions in Alphabetical Order
- CHANGE MASTER TO
- LOAD DATA FROM MASTER
- LOAD TABLE...FROM MASTER
- MASTER_POS_WAIT( )
- PURGE MASTER LOGS
- RESET MASTER
- RESET SLAVE
- SET GLOBAL SQL_SLAVE_SKIP_COUNTER
- SET SQL_LOG_BIN
- SHOW BINLOG EVENTS
- SHOW BINARY LOGS
- SHOW MASTER LOGS
- SHOW MASTER STATUS
- SHOW SLAVE HOSTS
- SHOW SLAVE STATUS
- START SLAVE
- STOP SLAVE
- + Replication States
-
+
Chapter 9. Stored Routines Statements
-
+
Statements in Alphabetical Order
- ALTER EVENT
- ALTER FUNCTION
- ALTER PROCEDURE
- ALTER TRIGGER
- BEGIN...END
- CALL
- CLOSE
- CREATE EVENT
- CREATE FUNCTION
- CREATE PROCEDURE
- CREATE TRIGGER
- DECLARE
- DELIMITER
- DROP EVENT
- DROP FUNCTION
- DROP PREPARE
- DROP PROCEDURE
- DROP TRIGGER
- EXECUTE
- FETCH
- OPEN
- PREPARE
- SHOW CREATE EVENT
- SHOW CREATE FUNCTION
- SHOW CREATE PROCEDURE
- SHOW EVENTS
- SHOW FUNCTION CODE
- SHOW FUNCTION STATUS
- SHOW PROCEDURE CODE
- SHOW PROCEDURE STATUS
- SHOW TRIGGERS
-
+
Statements in Alphabetical Order
- + Chapter 10. Aggregate Clauses, Aggregate Functions, and Subqueries
-
+
Chapter 11. String Functions
- + String Functions Grouped by Type
-
+
String Functions in Alphabetical Order
- ASCII( )
- BIN( )
- BINARY
- BIT_LENGTH( )
- CAST( )
- CHAR( )
- CHAR_LENGTH( )
- CHARACTER_LENGTH( )
- CHARSET( )
- COALESCE( )
- COERCIBILITY( )
- COLLATION( )
- COMPRESS( )
- CONCAT( )
- CONCAT_WS( )
- CONVERT( )
- CRC32( )
- ELT( )
- EXPORT_SET( )
- FIELD( )
- FIND_IN_SET( )
- HEX( )
- INSERT( )
- INSTR( )
- INTERVAL( )
- LCASE( )
- LEFT( )
- LENGTH( )
- LOAD_FILE( )
- LOCATE( )
- LOWER( )
- LPAD( )
- LTRIM( )
- MAKE_SET( )
- MATCH( )
- MID( )
- OCTET_LENGTH( )
- ORD( )
- POSITION( )
- QUOTE( )
- REPEAT( )
- REPLACE( )
- REVERSE( )
- RIGHT( )
- RPAD( )
- RTRIM( )
- SOUNDEX( )
- SPACE( )
- STRCMP( )
- SUBSTR( )
- SUBSTRING( )
- SUBSTRING_INDEX( )
- TRIM( )
- UCASE( )
- UNCOMPRESS( )
- UNCOMPRESSED_LENGTH( )
- UNHEX( )
- UPPER( )
-
+
Chapter 12. Date and Time Functions
- + Date and Time Functions Grouped by Type
-
+
Date and Time Functions in Alphabetical Order
- ADDDATE( )
- ADDTIME( )
- CONVERT_TZ( )
- CURDATE( )
- CURRENT_DATE( )
- CURRENT_TIME( )
- CURRENT_TIMESTAMP( )
- CURTIME( )
- DATE( )
- DATE_ADD( )
- DATE_FORMAT( )
- DATE_SUB( )
- DATEDIFF( )
- DAY( )
- DAYNAME( )
- DAYOFMONTH( )
- DAYOFWEEK( )
- DAYOFYEAR( )
- EXTRACT( )
- FROM_DAYS( )
- FROM_UNIXTIME( )
- GET_FORMAT( )
- HOUR( )
- LAST_DAY( )
- LOCALTIME( )
- LOCALTIMESTAMP( )
- MAKEDATE( )
- MAKETIME( )
- MICROSECOND( )
- MINUTE( )
- MONTH( )
- MONTHNAME( )
- NOW( )
- PERIOD_ADD( )
- PERIOD_DIFF( )
- QUARTER( )
- SEC_TO_TIME( )
- SECOND( )
- SLEEP( )
- STR_TO_DATE( )
- SUBDATE( )
- SUBTIME( )
- SYSDATE( )
- TIME( )
- TIME_FORMAT( )
- TIME_TO_SEC( )
- TIMEDIFF( )
- TIMESTAMP( )
- TIMESTAMPADD( )
- TIMESTAMPDIFF( )
- TO_DAYS( )
- UNIX_TIMESTAMP( )
- UTC_DATE( )
- UTC_TIME( )
- UTC_TIMESTAMP( )
- WEEK( )
- WEEKDAY( )
- WEEKOFYEAR( )
- YEAR( )
- YEARWEEK( )
-
+
Chapter 13. Mathematical Functions
-
+
Functions in Alphabetical Order
- ABS( )
- ACOS( )
- ASIN( )
- ATAN( )
- ATAN2( )
- BIT_COUNT( )
- CEIL( )
- CEILING( )
- CONV( )
- COS( )
- COT( )
- DEGREES( )
- EXP( )
- FLOOR( )
- FORMAT( )
- GREATEST( )
- INET_ATON( )
- INET_NTOA( )
- LEAST( )
- LN( )
- LOG( )
- LOG2( )
- LOG10( )
- MOD( )
- OCT( )
- PI( )
- POW( )
- POWER( )
- RADIANS( )
- RAND( )
- ROUND( )
- SIGN( )
- SIN( )
- SQRT( )
- TAN( )
- TRUNCATE( )
-
+
Functions in Alphabetical Order
- + Chapter 14. Flow Control Functions
-
+
Part III. MySQL Server and Client Tools
-
+
Chapter 15. MySQL Server and Client
-
+
Chapter 16. Command-Line Utilities
- comp_err
- make_binary_distribution
- msql2mysql
- my_print_defaults
- myisam_ftdump
- + myisamchk
- myisamlog
- myisampack
- + mysql_convert_table_format
- + mysql_find_rows
- mysql_fix_extensions
- mysql_fix_privilege_tables
- + mysql_setpermission
- + mysql_tableinfo
- + mysql_upgrade
- mysql_waitpid
- + mysql_zap
- mysqlaccess
- + mysqladmin
- mysqlbinlog
- mysqlbug
- mysqlcheck
- + mysqldump
- + mysqldumpslow
- + mysqlhotcopy
- + mysqlimport
- + mysqlshow
- + mysqlslap
- perror
- replace
- resolveip
- resolve_stack_dump
-
+
Chapter 15. MySQL Server and Client
-
+
Part IV. APIs and Connectors
-
+
Chapter 17. C API
- + Using C with MySQL
-
+
Functions in Alphabetical Order
- mysql_affected_rows( )
- mysql_autocommit( )
- mysql_change_user( )
- mysql_character_set_name( )
- mysql_close( )
- mysql_commit( )
- mysql_connect( )
- mysql_create_db( )
- mysql_data_seek( )
- mysql_debug( )
- mysql_drop_db( )
- mysql_dump_debug_info( )
- mysql_eof( )
- mysql_errno( )
- mysql_error( )
- mysql_escape_string( )
- mysql_fetch_field( )
- mysql_fetch_field_direct( )
- mysql_fetch_fields( )
- mysql_fetch_lengths( )
- mysql_fetch_row( )
- mysql_field_count( )
- mysql_field_seek( )
- mysql_field_tell( )
- mysql_free_result( )
- mysql_get_client_info( )
- mysql_get_character_set_info( )
- mysql_get_client_version( )
- mysql_get_host_info( )
- mysql_get_proto_info( )
- mysql_get_server_info( )
- mysql_get_server_version( )
- mysql_get_ssl_cipher( )
- mysql_hex_string( )
- mysql_info( )
- mysql_init( )
- mysql_insert_id( )
- mysql_kill( )
- mysql_library_end( )
- mysql_library_init( )
- mysql_list_dbs( )
- mysql_list_fields( )
- mysql_list_processes( )
- mysql_list_tables( )
- mysql_more_results( )
- mysql_next_result( )
- mysql_num_fields( )
- mysql_num_rows( )
- mysql_options( )
- mysql_ping( )
- mysql_query( )
- mysql_real_connect( )
- mysql_real_escape_string( )
- mysql_real_query( )
- mysql_reload( )
- mysql_refresh( )
- mysql_rollback( )
- mysql_row_seek( )
- mysql_row_tell( )
- mysql_select_db( )
- mysql_set_character_set( )
- mysql_set_local_infile_default( )
- mysql_set_local_infile_handler( )
- mysql_set_server_option( )
- mysql_shutdown( )
- mysql_sqlstate( )
- mysql_ssl_set( )
- mysql_stat( )
- mysql_store_result( )
- mysql_thread_end( )
- mysql_thread_id( )
- mysql_thread_init( )
- mysql_thread_safe( )
- mysql_use_result( )
- mysql_warning_count( )
- C API Datatypes
-
+
Chapter 18. Perl API
- + Using Perl DBI with MySQL
-
+
Perl DBI Reference
- available_drivers( )
- begin_work( )
- bind_col( )
- bind_columns( )
- bind_param( )
- bind_param_array( )
- bind_param_inout( )
- can( )
- clone( )
- column_info( )
- commit( )
- connect( )
- connect_cached( )
- data_diff( )
- data_sources( )
- data_string_desc( )
- data_string_diff( )
- disconnect( )
- do( )
- dump_results( )
- err( )
- errstr( )
- execute( )
- execute_array( )
- execute_for_fetch( )
- fetch( )
- fetchall_arrayref( )
- fetchall_hashref( )
- fetchrow_array( )
- fetchrow_arrayref( )
- fetchrow_hashref( )
- finish( )
- foreign_key_info( )
- func( )
- get_info( )
- installed_drivers( )
- installed_versions( )
- last_insert_id( )
- looks_like_number( )
- neat( )
- neat_list( )
- parse_dsn( )
- parse_trace_flag( )
- parse_trace_flags( )
- ping( )
- prepare( )
- prepare_cached( )
- primary_key( )
- primary_key_info( )
- private_attribute_info( )
- quote( )
- quote_identifier( )
- rollback( )
- rows( )
- selectall_arrayref( )
- selectall_hashref( )
- selectcol_arrayref( )
- selectrow_array( )
- selectrow_arrayref( )
- selectrow_hashref( )
- set_err( )
- state( )
- statistics_info( )
- swap_inner_handle( )
- table_info( )
- tables( )
- take_imp_data( )
- trace( )
- trace_msg( )
- type_info( )
- type_info_all( )
- + Attributes for Handles
-
+
Chapter 19. PHP API
- + Using PHP with MySQL
-
+
PHP MySQL Functions in Alphabetical Order
- mysql_affected_rows( )
- mysql_change_user( )
- mysql_client_encoding( )
- mysql_close( )
- mysql_connect( )
- mysql_create_db( )
- mysql_data_seek( )
- mysql_db_name( )
- mysql_db_query( )
- mysql_drop_db( )
- mysql_errno( )
- mysql_error( )
- mysql_escape_string( )
- mysql_fetch_array( )
- mysql_fetch_assoc( )
- mysql_fetch_field( )
- mysql_fetch_lengths( )
- mysql_fetch_object( )
- mysql_fetch_row( )
- mysql_field_flags( )
- mysql_field_len( )
- mysql_field_name( )
- mysql_field_seek( )
- mysql_field_table( )
- mysql_field_type( )
- mysql_free_result( )
- mysql_get_client_info( )
- mysql_get_host_info( )
- mysql_get_proto_info( )
- mysql_get_server_info( )
- mysql_info( )
- mysql_insert_id( )
- mysql_list_dbs( )
- mysql_list_fields( )
- mysql_list_processes( )
- mysql_list_tables( )
- mysql_num_fields( )
- mysql_num_rows( )
- mysql_pconnect( )
- mysql_ping( )
- mysql_query( )
- mysql_real_escape_string( )
- mysql_result( )
- mysql_select_db( )
- mysql_set_charset( )
- mysql_stat( )
- mysql_tablename( )
- mysql_thread_id( )
- mysql_unbuffered_query( )
-
+
Chapter 17. C API
-
+
Part V. Appendixes
- Index
When you need to find the right SQL keyword or MySQL client command-line option right away, turn to this convenient reference, known for the same speed and flexibility as the system it covers so thoroughly. MySQL is packed with so many capabilities that the odds of remembering a particular function or statement at the right moment are pretty slim. With MySQL in a Nutshell, you get the details you need, day in and day out, in one concise and extremely well organized book. The new edition contains all the commands and programming information for version 5.1, including new features and language interfaces. It's ideal for anyone using MySQL, from novices who need to get up to speed to advanced users who want a handy reference. Like all O'Reilly Nutshell references, it's easy to use and highly authoritative, written by the editor of the MySQL Knowledge Base at MySQL AB, the creator and owner of MySQL. Inside, you'll find: A thorough reference to MySQL statements, functions, and administrative utilities Several tutorial chapters to help newcomers get started Programming language APIs for PHP, Perl, and C Brief tutorials at the beginning of each API chapter to help anyone, regardless of experience level, understand and master unfamiliar territory New chapters on replication, triggers, and stored procedures Plenty of new examples of how MySQL is used in practice Useful tips to help you get through the most difficult subjects Whether you employ MySQL in a mission-critical, heavy-use environment or for applications that are more modest, this book puts a wealth of easy-to-find information at your fingertips, saving you hundreds of hours of trial and error and tedious online searching. If you're ready to take advantage of everything MySQL has to offer, MySQL in a Nutshell has precisely what it takes.
Test the closed alpha on paperc.com
Book Details
Authors
Categories
Publishers
Publication year : 2008
License: All rights reserved ©
Times read: 1,198

