<secalert_us@oracle.com>
x
Text in this style
FLUSH
PRIVILEGES
Text in this style
Text in this style
Text in this style
--host
my.cnf
%
shell>
root
shell>type a shell command here
root-shell>type a shell command as
mysql>root
heretype a mysql statement here
master
master>type a mysql command on the replication master here
slave>type a mysql command on the replication slave here
db_name
tbl_name
col_name
MySQL的> SELECT
col_name
FROMdb_name
.tbl_name
;
mysql> SELECT author_name FROM biblio_db.author_list;
[
]
DROP TABLE [IF EXISTS] tbl_name
|
[
]
修剪([ [ |领导|尾] [ remstr
] ] str
)
{
}
{ \ fn方正黑体简体\ fs18 \ b1 \ 3cH2F2F2F } { \ 3cH202020 } { \ tbl_name
【 col_name
| wild
]
...
SELECT ... INTO
OUTFILE
SELECT
reset_option
重置 reset_option
【, reset_option
]…
CC
shell> CC=gcc ./configure
shell>setenv CC gcc
shell>./configure
MyISAM
SELECT
mysql>SELECT CONCAT(first_name, ' ', last_name)
->FROM citizen
->WHERE income/dependents > 10000 AND age > 30;
GROUP BY
COUNT()
AVG()
STD()
SUM()
MAX()
MIN()
GROUP_CONCAT()
LEFT OUTER JOIN
DELETE
INSERT
REPLACE
UPDATE
SHOW
EXPLAIN
ABS
(
InnoDB
MyISAM
CHAR
VARCHAR
BLOB
TEXT
--enable-named-pipe
--shared-memory
--protocol=memory
latin1
big5
?
?
?
MyISAM
--help
mSQL
mSQL
caching_sha2_password
caching_sha2_password
caching_sha2_password
mysql_native_password
sha256_password
mysql_native_password
InnoDB
InnoDB
InnoDB
InnoDB
get
innodb_deadlock_detect
innodb_lock_wait_timeout
INFORMATION_SCHEMA.INNODB_CACHED_INDEXES
InnoDB
InnoDB
InnoDB
SKIP
LOCKED
SELECT ... FOR
UPDATE
SKIP LOCKED
SELECT ... FOR SHARE
LOCK IN SHARE MODE
FOR SHARE
SKIP
LOCKED
tbl_name
OF
tbl_name
ADD PARTITION
COALESCE
PARTITION
REBUILD
PARTITION
ALTER
TABLE
ALGORITHM={COPY|INPLACE}
LOCK
DROP PARTITION
ALGORITHM=INPLACE
DROP PARTITION
ALGORITHM=COPY
old_alter_table=ON
InnoDB
mysql
mysql.ibd
mysql
innodb_undo_tablespaces
innodb_undo_log_truncate
innodb_undo_tablespaces
innodb_undo_tablespaces
innodb_undo_tablespaces
undo
NNN
NNN
NNN
innodb_rollback_segments
innodb_rollback_segments
innodb_undo_logs
innodb_rollback_segments
Innodb_available_undo_logs
innodb_max_dirty_pages_pct_lwm
innodb_max_dirty_pages_pct
innodb_autoinc_lock_mode
innodb_autoinc_lock_mode
innodb_autoinc_lock_mode
innodb_autoinc_lock_mode
ALTER
TABLESPACE ... RENAME TO
innodb_dedicated_server
INFORMATION_SCHEMA.INNODB_TABLESPACES_BRIEF
InnoDB
InnoDB
JSON
InnoDB
innodb_directories
innodb_log_wait_for_flush_spin_hwm
innodb_log_spin_cpu_abs_lwm
innodb_log_spin_cpu_pct_hwm
innodb_log_buffer_size
ALGORITHM=INSTANT
ALTER TABLE
ADD
COLUMN
ALGORITHM=INSTANT
ALGORITHM=INSTANT
ALGORITHM=INSTANT
ALGORITHM=INSTANT
latin1
utf8mb4
->>
JSON_UNQUOTE()
JSON_EXTRACT()
->
col->>"$.path"
JSON_UNQUOTE(col->"$.path")
SELECT
HAVING
GROUP BY
JSON_ARRAYAGG()
JSON_OBJECTAGG()
JSON
JSON_OBJECTAGG()
JSON_PRETTY()
JSON
JSON
INT
JSON
JSON_SET()
JSON_REPLACE()
JSON_REMOVE()
binlog_row_value_options=PARTIAL_JSON
JSON_STORAGE_SIZE()
JSON_STORAGE_FREE()
JSON_STORAGE_FREE()
JSON
JSON_REPLACE()
JSON_STORAGE_SIZE()
NULL
JSON_STORAGE_SIZE()
$[1 to 5]
$[last]
last
JSON_MERGE_PATCH()
null
null
JSON_MERGE()
JSON_MERGE_PRESERVE()
JSON_MERGE_PRESERVE()
x
MySQL >选择 JSON_OBJECT('x', '32', 'y', '[true, false]',
> 'x', '"abc"', 'x', '100') AS Result;
|食用------------------------------------(| |食用------------------------------------:{“X”,“Y”“100”:“[假]真的,”|食用------------------------------------ } 1行集(0秒)
JSON
MySQL的> CREATE TABLE t1 (c1 JSON);
MySQL的> INSERT INTO t1 VALUES ('{"x": 17, "x": "red", "x": [3, 5, 7]}');
MySQL的> SELECT c1 FROM t1;
------------------ | C1 | ------------------ | {“X”:[ 3, 5, 7 ] | ------------------ }
JSON_TABLE()
JSON_TABLE(
expr
,
path
COLUMNS
column_list
) [AS]
alias
)expr
path
column_list
MySQL的> SELECT *
-> FROM
-> JSON_TABLE(
-> '[{"a":3,"b":"0"},{"a":"3","b":"1"},{"a":2,"b":1},{"a":0},{"b":[1,2]}]',
-> "$[*]" COLUMNS(
-> rowid FOR ORDINALITY,
-> ->xa INT EXISTS PATH "$.a",
-> xb INT EXISTS PATH "$.b",
-> ->sa VARCHAR(100) PATH "$.a",
-> sb VARCHAR(100) PATH "$.b",
-> ->ja JSON PATH "$.a",
-> jb JSON PATH "$.b"
-> )
-> ) AS jt1;
————————————————————| XA,XB -------- | rowid | | |某人和你| | JB |————————————————| -------- | 1 1 1 3 | | | | |“0”0 3 2 1 1 | | | | | 3 1 | | |“1”“3”| | | 1 3 1 2 1 | | | | 2 1 4 1 | | | | | 0 0 0 0 | | | |零| | 5 0 1 | | | | |零零零|〔1,2〕——————————————————| --------
JSON_EXTRACT(t1, data,
'$.post.comments')
BLOB
TEXT
JSON
DESC
JSON
WITH
SELECT
RANK()
LAG()
NTILE()
SUM()
AVG()
REGEXP
RLIKE
REGEXP_LIKE()
REGEXP
RLIKE
REGEXP_INSTR()
REGEXP_REPLACE()
REGEXP_SUBSTR()
regexp_stack_limit
regexp_time_limit
TempTable
TempTable
VARCHAR
VARBINARY
internal_tmp_mem_storage_engine
MEMORY
temptable_max_ram
log_error_services
LOCK INSTANCE FOR BACKUP
UNLOCK
INSTANCE
BACKUP_ADMIN
binlog_row_value_options
binlog_row_value_options
validate_password
ALTER TABLESPACE
DROP TABLESPACE
PAD_CHAR_TO_FULL_LENGTH
JSON_MERGE()
JSON_MERGE_PRESERVE()
information_schema_stats
information_schema_stats_expiry
information_schema_stats_expiry
INFORMATION_SCHEMA
InnoDB
INFORMATION_SCHEMA
InnoDB
INFORMATION_SCHEMA
INNODB_SYS_COLUMNS | INNODB_COLUMNS |
INNODB_SYS_DATAFILES | INNODB_DATAFILES |
INNODB_SYS_FIELDS | INNODB_FIELDS |
INNODB_SYS_FOREIGN | INNODB_FOREIGN |
INNODB_SYS_FOREIGN_COLS | INNODB_FOREIGN_COLS |
INNODB_SYS_INDEXES | INNODB_INDEXES |
INNODB_SYS_TABLES | INNODB_TABLES |
INNODB_SYS_TABLESPACES | INNODB_TABLESPACES |
INNODB_SYS_TABLESTATS | INNODB_TABLESTATS |
INNODB_SYS_VIRTUAL | INNODB_VIRTUAL |
InnoDB
INFORMATION_SCHEMA
GRANT
CREATE
USER
GRANT
GRANT
CREATE
USER
ALTER USER
IDENTIFIED BY PASSWORD
'
hash_string
'CREATE USER
GRANT
auth_plugin
hash_string
CREATE USER
ALTER USER
hash_string
IDENTIFIED BY
PASSWORD
log_builtin_as_identified_by_password
PASSWORD()
SET
PASSWORD ... =
PASSWORD('
auth_string
')
old_passwords
FLUSH QUERY CACHE
query_cache_limit
query_cache_min_res_unit
query_cache_size
query_cache_type
query_cache_wlock_invalidate
Qcache_free_blocks
Qcache_free_memory
Qcache_hits
Qcache_inserts
Qcache_lowmem_prunes
Qcache_not_cached
Qcache_queries_in_cache
Qcache_total_blocks
checking privileges on
cached query
invalidating query cache
entries
storing result in query
cache
SQL_CACHE
SELECT
ndb_cache_check_time
have_query_cache
--ignore-db-dir
tx_isolation
transaction_isolation
transaction_read_only
sync_frm
secure_auth
MYSQL_SECURE_AUTH
mysql_options()
multi_range_count
log_warnings
log_error_verbosity
sql_log_bin
@@global.sql_log_bin
metadata_locks_cache_size
date_format
time_format
DB2
MSSQL
MYSQL40
POSTGRESQL
NO_KEY_OPTIONS
sql_mode
--compatible
MAXDB
TIMESTAMP
CREATE TABLE
ALTER TABLE
TIMESTAMP
DATETIME
ASC
GROUP
BY
ORDER
BY
EXTENDED
EXPLAIN
ENCRYPT()
DES_ENCRYPT()
DES_DECRYPT()
--des-key-file
have_crypt
FLUSH
ENCRYPT()
SHA2()
AES_ENCRYPT()
AES_DECRYPT()
ST_
ST_
MBR
Disjoint()
Intersects()
Within()
ST_
AsBinary()
AsWKB()
Buffer()
ConvexHull()
Dimension()
EndPoint()
ExteriorRing()
GeomCollFromWKB()
GeomFromWKB()
GeometryCollectionFromWKB()
GeometryFromWKB()
GeometryType()
IsClosed()
IsSimple()
LineFromWKB()
LineStringFromWKB()
MLineFromWKB()
MPointFromWKB()
MPolyFromWKB()
MultiLineStringFromWKB()
MultiPointFromWKB()
MultiPolygonFromWKB()
NumInteriorRings()
PointFromText()
PointN()
PolyFromWKB()
PolygonFromWKB()
StartPoint()
X()
GLength()
ST_Length()
\N
NULL
LOAD DATA
INFILE
SELECT ... INTO
OUTFILE
\N
PROCEDURE ANALYSE()
--ssl
--ssl-mode=REQUIRED
--ssl=1
--enable-ssl
--ssl-mode=DISABLED
--ssl=0
--skip-ssl
--ssl-mode=VERIFY_IDENTITY
--ssl
MYSQL_OPT_SSL_ENFORCE
mysql_options()
--ssl-verify-server-cert
SSL_MODE_REQUIRED
--temp-pool
--ignore-builtin-innodb
ignore_builtin_innodb
#mysql50#
--fix-table-names
UPGRADE DATA
DIRECTORY NAME
ALTER DATABASE
--initialize
--initialize-insecure
INSTALL_SCRIPTDIR
--partition
SHOW
PLUGINS
INFORMATION_SCHEMA.PLUGINS
InnoDB
NDB
InnoDB
MyISAM
ALTER
TABLE ... REMOVE PARTITIONING
InnoDB
ALTER TABLE
... ENGINE=INNODB
InnoDB
MyISAM
CREATE TABLE
InnoDB
InnoDB
INFORMATION_SCHEMA
SESSION_VARIABLES
SESSION_STATUS
show_compatibility_56
Slave_heartbeat_period
Slave_received_heartbeats
Slave_running
setup_timers
performance_timers
libmysqld
mysql_options()
MYSQL_OPT_USE_EMBEDDED_CONNECTION
MYSQL_SET_CLIENT_IP
--libmysqld-libs
--embedded
WITH_EMBEDDED_SERVER
INSTALL_SECURE_FILE_PRIV_EMBEDDEDDIR
--server-arg
--embedded-server
--server-file
--plugin-load
--plugin-load-add
INSTALL
PLUGIN
ER_BINLOG_READ_EVENT_CHECKSUM_FAILURE ER_BINLOG_ROW_RBR_TO_SBR ER_BINLOG_ROW_WRONG_TABLE_DEF ER_CANT_ACTIVATE_LOG ER_CANT_CHANGE_GTID_NEXT_IN_TRANSACTION ER_CANT_CREATE_FEDERATED_TABLE ER_CANT_CREATE_SROUTINE ER_CANT_DELETE_FILE ER_CANT_GET_WD ER_CANT_SET_GTID_PURGED_WHEN_GTID_MODE_IS_OFF ER_CANT_SET_WD ER_CANT_WRITE_LOCK_LOG_TABLE ER_CREATE_DB_WITH_READ_LOCK ER_CYCLIC_REFERENCE ER_DB_DROP_DELETE ER_DELAYED_NOT_SUPPORTED ER_DIFF_GROUPS_PROC ER_DISK_FULL ER_DROP_DB_WITH_READ_LOCK ER_DROP_USER ER_DUMP_NOT_IMPLEMENTED ER_ERROR_DURING_CHECKPOINT ER_ERROR_ON_CLOSE ER_EVENTS_DB_ERROR ER_EVENT_CANNOT_DELETE ER_EVENT_CANT_ALTER ER_EVENT_COMPILE_ERROR ER_EVENT_DATA_TOO_LONG ER_EVENT_DROP_FAILED ER_EVENT_MODIFY_QUEUE_ERROR ER_EVENT_NEITHER_M_EXPR_NOR_M_AT ER_EVENT_OPEN_TABLE_FAILED ER_EVENT_STORE_FAILED ER_EXEC_STMT_WITH_OPEN_CURSOR ER_FAILED_ROUTINE_BREAK_BINLOG ER_FLUSH_MASTER_BINLOG_CLOSED ER_FORM_NOT_FOUND ER_FOUND_GTID_EVENT_WHEN_GTID_MODE_IS_OFF__UNUSED ER_FRM_UNKNOWN_TYPE ER_GOT_SIGNAL ER_GRANT_PLUGIN_USER_EXISTS ER_GTID_MODE_REQUIRES_BINLOG ER_GTID_NEXT_IS_NOT_IN_GTID_NEXT_LIST ER_HASHCHK ER_INDEX_REBUILD ER_INNODB_NO_FT_USES_PARSER ER_LIST_OF_FIELDS_ONLY_IN_HASH_ERROR ER_LOAD_DATA_INVALID_COLUMN_UNUSED ER_LOGGING_PROHIBIT_CHANGING_OF ER_MALFORMED_DEFINER ER_MASTER_KEY_ROTATION_ERROR_BY_SE ER_NDB_CANT_SWITCH_BINLOG_FORMAT ER_NEVER_USED ER_NISAMCHK ER_NO_CONST_EXPR_IN_RANGE_OR_LIST_ERROR ER_NO_FILE_MAPPING ER_NO_GROUP_FOR_PROC ER_NO_RAID_COMPILED ER_NO_SUCH_KEY_VALUE ER_NO_SUCH_PARTITION__UNUSED ER_OBSOLETE_CANNOT_LOAD_FROM_TABLE ER_OBSOLETE_COL_COUNT_DOESNT_MATCH_CORRUPTED ER_ORDER_WITH_PROC ER_PARTITION_SUBPARTITION_ERROR ER_PARTITION_SUBPART_MIX_ERROR ER_PART_STATE_ERROR ER_PASSWD_LENGTH ER_QUERY_ON_MASTER ER_RBR_NOT_AVAILABLE ER_SKIPPING_LOGGED_TRANSACTION ER_SLAVE_CHANNEL_DELETE ER_SLAVE_MULTIPLE_CHANNELS_HOST_PORT ER_SLAVE_MUST_STOP ER_SLAVE_WAS_NOT_RUNNING ER_SLAVE_WAS_RUNNING ER_SP_GOTO_IN_HNDLR ER_SP_PROC_TABLE_CORRUPT ER_SQL_MODE_NO_EFFECT ER_SR_INVALID_CREATION_CTX ER_TABLE_NEEDS_UPG_PART ER_TOO_MUCH_AUTO_TIMESTAMP_COLS ER_UNEXPECTED_EOF ER_UNION_TABLES_IN_DIFFERENT_DIR ER_UNSUPPORTED_BY_REPLICATION_THREAD ER_UNUSED1 ER_UNUSED2 ER_UNUSED3 ER_UNUSED4 ER_UNUSED5 ER_UNUSED6 ER_VIEW_SELECT_DERIVED_UNUSED ER_WRONG_MAGIC ER_WSAS_FAILED
INFORMATION_SCHEMA
INNODB_LOCKS
INNODB_LOCK_WAITS
data_locks
data_lock_waits
LOCK_TABLE
INNODB_LOCKS
sys
innodb_lock_waits
x$innodb_lock_waits
data_locks
InnoDB
innodb_strict_mode
CREATE
TEMPORARY TABLE
ROW_FORMAT=COMPRESSED
KEY_BLOCK_SIZE
innodb_strict_mode
InnoDB
InnoDB
innodb_directories
.isl
innodb_directories
InnoDB
innodb_file_format
innodb_file_format_check
innodb_file_format_max
innodb_large_prefix
InnoDB
FILE_FORMAT
INNODB_TABLES
INNODB_TABLESPACES
innodb_support_xa
JSON_APPEND()
JSON_ARRAY_APPEND()
Acl_cache_items_count
Audit_log_current_size
Audit_log_event_max_drop_size
Audit_log_events
Audit_log_events_filtered
Audit_log_events_lost
Audit_log_events_written
Audit_log_total_size
Audit_log_write_waits
Caching_sha2_password_rsa_public_key
Com_alter_resource_group
Com_alter_user_default_role
Com_create_resource_group
Com_create_role
Com_drop_resource_group
Com_drop_role
Com_grant_roles
Com_install_component
Com_revoke_roles
Com_set_resource_group
Com_set_role
Com_uninstall_component
Connection_control_delay_generated
Firewall_access_denied
Firewall_access_granted
Firewall_cached_entries
activate_all_roles_on_login
audit-log
audit_log_buffer_size
audit_log_compression
audit_log_connection_policy
audit_log_current_session
audit_log_encryption
audit_log_exclude_accounts
audit_log_file
audit_log_filter_id
audit_log_flush
audit_log_format
audit_log_include_accounts
audit_log_policy
audit_log_read_buffer_size
audit_log_rotate_on_size
audit_log_statement_policy
audit_log_strategy
authentication_ldap_sasl_auth_method_name
authentication_ldap_sasl_bind_base_dn
authentication_ldap_sasl_bind_root_dn
authentication_ldap_sasl_bind_root_pwd
authentication_ldap_sasl_ca_path
authentication_ldap_sasl_group_search_attr
authentication_ldap_sasl_group_search_filter
authentication_ldap_sasl_init_pool_size
authentication_ldap_sasl_log_status
authentication_ldap_sasl_max_pool_size
authentication_ldap_sasl_server_host
authentication_ldap_sasl_server_port
authentication_ldap_sasl_tls
authentication_ldap_sasl_user_search_attr
authentication_ldap_simple_auth_method_name
authentication_ldap_simple_bind_base_dn
authentication_ldap_simple_bind_root_dn
authentication_ldap_simple_bind_root_pwd
authentication_ldap_simple_ca_path
authentication_ldap_simple_group_search_attr
authentication_ldap_simple_group_search_filter
authentication_ldap_simple_init_pool_size
authentication_ldap_simple_log_status
authentication_ldap_simple_max_pool_size
authentication_ldap_simple_server_host
authentication_ldap_simple_server_port
authentication_ldap_simple_tls
authentication_ldap_simple_user_search_attr
authentication_windows_log_level
authentication_windows_use_principal_name
binlog_expire_logs_seconds
binlog_row_metadata
binlog_row_value_options
binlog_transaction_dependency_history_size
binlog_transaction_dependency_tracking
caching_sha2_password_auto_generate_rsa_keys
caching_sha2_password_private_key_path
caching_sha2_password_public_key_path
connection_control_failed_connections_threshold
connection_control_max_connection_delay
connection_control_min_connection_delay
cte_max_recursion_depth
default_collation_for_utf8mb4
dragnet.log_error_filter_rules
early-plugin-load
group_replication_communication_debug_options
group_replication_flow_control_hold_percent
group_replication_flow_control_max_commit_quota
group_replication_flow_control_member_quota_percent
group_replication_flow_control_min_quota
group_replication_flow_control_min_recovery_quota
group_replication_flow_control_period
group_replication_flow_control_release_percent
group_replication_member_weight
group_replication_recovery_get_public_key
group_replication_recovery_public_key_path
group_replication_unreachable_majority_timeout
histogram_generation_max_mem_size
information_schema_stats_expiry
innodb_buffer_pool_debug
innodb_checkpoint_disabled
innodb_ddl_log_crash_reset_debug
innodb_deadlock_detect
innodb_dedicated_server
innodb_directories
innodb_log_spin_cpu_abs_lwm
innodb_log_spin_cpu_pct_hwm
innodb_log_wait_for_flush_spin_hwm
innodb_print_ddl_logs
innodb_redo_log_encrypt
innodb_scan_directories
innodb_stats_include_delete_marked
innodb_tmpdir
innodb_undo_log_encrypt
internal_tmp_mem_storage_engine
keyring-migration-destination
keyring-migration-host
keyring-migration-password
keyring-migration-port
keyring-migration-socket
keyring-migration-source
keyring-migration-user
keyring_aws_cmk_id
keyring_aws_conf_file
keyring_aws_data_file
keyring_aws_region
keyring_encrypted_file_data
keyring_encrypted_file_password
keyring_okv_conf_dir
keyring_operations
log_error_filter_rules
log_error_services
mandatory_roles
mysql_firewall_mode
mysql_firewall_trace
mysqlx
mysqlx-interactive-timeout
mysqlx-port-read-timeout
mysqlx-wait-timeout
mysqlx-write-timeout
mysqlx_interactive_timeout
mysqlx_read_timeout
mysqlx_wait_timeout
mysqlx_write_timeout
no-dd-upgrade
no-monitor
original_commit_timestamp
password_history
password_reuse_interval
performance_schema_max_digest_sample_age
persisted_globals_load
regexp_stack_limit
regexp_time_limit
resultset_metadata
rpl_read_size
show_create_table_verbosity
ssl_fips_mode
temptable_max_ram
thread_pool_algorithm
thread_pool_high_priority_connection
thread_pool_max_unused_threads
thread_pool_prio_kickup_timer
thread_pool_size
thread_pool_stall_limit
validate_password.check_user_name
validate_password.dictionary_file
validate_password.dictionary_file_last_parsed
validate_password.dictionary_file_words_count
validate_password.length
validate_password.mixed_case_count
validate_password.number_count
validate_password.policy
validate_password.special_char_count
version_compile_zlib
windowing_use_high_precision
expire_logs_days
innodb_undo_tablespaces
log_syslog
symbolic-links
Com_alter_db_upgrade
Innodb_available_undo_logs
Qcache_free_blocks
Qcache_free_memory
Qcache_hits
Qcache_inserts
Qcache_lowmem_prunes
Qcache_not_cached
Qcache_queries_in_cache
Qcache_total_blocks
Slave_heartbeat_period
Slave_last_heartbeat
Slave_received_heartbeats
Slave_retried_transactions
Slave_running
bootstrap
date_format
datetime_format
des-key-file
group_replication_allow_local_disjoint_gtids_join
have_crypt
ignore-builtin-innodb
ignore-db-dir
ignore_db_dirs
innodb_checksums
innodb_disable_resize_buffer_pool_debug
innodb_file_format
innodb_file_format_check
innodb_file_format_max
innodb_large_prefix
innodb_locks_unsafe_for_binlog
innodb_stats_sample_pages
innodb_support_xa
innodb_undo_logs
log-warnings
log_builtin_as_identified_by_password
log_error_filter_rules
max_tmp_tables
multi_range_count
old_passwords
partition
query_cache_limit
query_cache_min_res_unit
query_cache_size
query_cache_type
query_cache_wlock_invalidate
secure-auth
show_compatibility_56
skip-partition
sync_frm
temp-pool
time_format
tx_isolation
tx_read_only
lists.mysql.com
List-ID:
announce
mysql
bugs
internals
mysqldoc
benchmarks
packagers
java
win32
myodbc
gui-tools
cluster
dotnet
plusplus
perl
DBD::mysql
<mysql-france-subscribe@yahoogroups.com>
subscribe
mysql your@email.address
<mysql-de-request@lists.4t2.com>
subscribe
mysql-de your@email.address
<mysql-br-request@listas.linkway.com.br>
subscribe mysql-br your@email.address
subscribe
mysql your@email.address
#mysql
#workbench
<secalert_us@oracle.com>
mysql test <
script_file
--vertical
EXPLAIN SELECT
bin
uname -a
docs/INFO_BIN
SHOW CREATE TABLE
db_name
.tbl_name
sql_mode
sql_mode
SHOW CREATE
PROCEDURE
SHOW CREATE
FUNCTION
SELECT ROUTINE_SCHEMA, ROUTINE_NAME, SQL_MODE FROM INFORMATION_SCHEMA.ROUTINES;
SELECT EVENT_OBJECT_SCHEMA, EVENT_OBJECT_TABLE, TRIGGER_NAME, SQL_MODE FROM INFORMATION_SCHEMA.TRIGGERS;
SELECT
SELECT
tbl_name
\G
MySQL的> SHOW VARIABLES;
MySQL的> SHOW COLUMNS FROM ...\G
<output from SHOW COLUMNS>
MySQL的> EXPLAIN SELECT ...\G
<output from EXPLAIN>
MySQL的> FLUSH STATUS;
MySQL的> SELECT ...;
<A short version of the output from SELECT, including the time taken to run the query>
MySQL的> SHOW STATUS;
<output from SHOW STATUS>
README
DBI
DBI
CHECK TABLE
InnoDB
InnoDB
innodb_force_recovery
REPAIR TABLE
lower_case_table_names
.err
HANDLER
NDBCLUSTER
sql_mode
--ansi
--transaction-isolation=SERIALIZABLE --sql-mode=ANSI
SET GLOBAL TRANSACTION ISOLATION LEVEL SERIALIZABLE; SET GLOBAL sql_mode = 'ANSI';
sql_mode
mysql>SET GLOBAL sql_mode='ANSI';
mysql>SELECT @@global.sql_mode;
-> 'REAL_AS_FLOAT,PIPES_AS_CONCAT,ANSI_QUOTES,IGNORE_SPACE,ANSI'
--ansi
--ansi
/*! MySQL-specific code
*/
STRAIGHT_JOIN
选择/ *!straight_join * / 2从表1,表2…
!
CREATE TABLE t1(a INT, KEY (a)) /*!50110 KEY_BLOCK_SIZE=1024 */;
"
ANSI_QUOTES
"
\
db_name.tbl_name
CREATE TABLE ralph.my_table ... IN
my_tablespace
CREATE DATABASE
DROP DATABASE
ALTER DATABASE
DO
EXPLAIN
SELECT
SET
SHOW
SHOW
SELECT
LOAD
DATA INFILE
LOAD DATA
INFILE
REPLACE
DELETE
INSERT
CHANGE
col_name
col_name
DROP INDEX
RENAME
ALTER TABLE
ALTER
CHANGE
ALTER TABLE
INDEX
CREATE
TABLE
TEMPORARY
CREATE
TABLE
IF EXISTS
DROP TABLE
DROP DATABASE
DROP TABLE
INSERT INTO
tbl_name
SET col_name
= ...
INTO OUTFILE
SELECT
STRAIGHT_JOIN
SELECT
GROUP BY
ASC
GROUP
BY
:=
||
&&
||
OR
&&
AND
||
CONCAT()
CONCAT()
||
COUNT(DISTINCT
value_list
)value_list
utf8mb4
BINARY
=
<>
<=
<
>=
>
<<
>>
<=>
AND
OR
LIKE
SELECT
MySQL的> SELECT col1=1 AND col2=2 FROM my_table;
LAST_INSERT_ID()
LIKE
REGEXP
NOT REGEXP
BIT_COUNT()
CASE
ELT()
FROM_DAYS()
FORMAT()
IF()
MD5()
PERIOD_ADD()
PERIOD_DIFF()
TO_DAYS()
WEEKDAY()
TRIM()
GROUP BY
STD()
BIT_OR()
BIT_AND()
BIT_XOR()
GROUP_CONCAT()
REVOKE
CAST()
REAL
BIGINT
SELECT ... INTO
TABLE
INSERT INTO ...
SELECT
INSERT INTO tbl_temp2 (fld_id) SELECT tbl_temp1.fld_order_id FROM tbl_temp1 WHERE tbl_temp1.fld_order_id > 100;
SELECT ... INTO
OUTFILE
CREATE TABLE ...
SELECT
SELECT ...
INTO
UPDATE
col1
col1
UPDATE t1 SET col1 = col1 + 1, col2 = col1;
InnoDB
InnoDB
InnoDB
FOREIGN KEY
InnoDB
ON UPDATE CASCADE
RESTRICT
ON UPDATE SET NULL
ON DELETE CASCADE
InnoDB
InnoDB
/* this is a comment
*/
--
--
payment
UPDATE account SET credit=credit-payment
payment
UPDATE account SET credit=credit--1
credit--1
UPDATE account SET credit=credit
--
--
--
INSERT
UPDATE
IGNORE
INSERT
UPDATE
mysql_info()
SHOW
WARNINGS
InnoDB
ON UPDATE
CREATE TABLE
ALTER TABLE
CASCADE
NO ACTION
SET DEFAULT
InnoDB
RESTRICT
MATCH FULL
MATCH SIMPLE
ON UPDATE
MATCH
SIMPLE
INFORMATION_SCHEMA.KEY_COLUMN_USAGE
MySQL的> SELECT TABLE_SCHEMA, TABLE_NAME, COLUMN_NAME, CONSTRAINT_NAME
> FROM INFORMATION_SCHEMA.KEY_COLUMN_USAGE
> WHERE REFERENCED_TABLE_SCHEMA IS NOT NULL;
-------------- --------------- ------------- ----------------- | table_schema | table_name | column_name | constraint_name | -------------- --------------- ------------- ----------------- FK1 | |中| myuser_id | F | FK1 | | product_order | customer_id | F2 | FK1 | | product_order | product_id | F1 | -------------- --------------- ------------- ----------------- 3行集(0.01秒)
InnoDB
INNODB_FOREIGN
INNODB_FOREIGN_COLS
InnoDB
InnoDB
NULL
ENUM
SET
DATE
DATETIME
'2000-02-00'
'0000-00-00'
NULL
INSERT
INSERT
INSERT INTO
... SELECT
''
INSERT
DEFAULT
STRICT_TRANS_TABLES
STRICT_ALL_TABLES
SET sql_mode = 'STRICT_TRANS_TABLES';SET sql_mode = 'STRICT_ALL_TABLES';
STRICT_TRANS_TABLES
STRICT_TRANS_TABLES
STRICT_ALL_TABLES
STRICT_TRANS_TABLES
STRICT_TRANS_TABLES
INSERT
IGNORE
INSERT
UPDATE
ENUM
SET
ENUM
SET
ENUM
ENUM('a','b','c')
'd'
SET
SET('a','b','c')
'a,b,c,d'
INSERT
IGNORE
ENUM
SET
'a,b'
MySQL server
MySQL distribution
<qwerg@mbox.vol.it>
<
<irena@mail.yacc.it>
mysqlshutdown.exe
mSQL
mSQL
mSQL
mSQL
client/select_test.c
mSQL
<igor@frog.kiev.ua>
msqldump
<zarko.mocnik@dem.si>
<tommy@valley.ne.jp>
_MB
<joshua@chamas.com>
<rhys@wales.com>
<X.Zhu@brad.ac.uk>
<pixel@organic.com>
<Rick_Mehalick@i-o.com>
xmysql
<sisk@wix.com>
<axeld@vial.ethz.ch>
<toni@readysoft.es>
<jay@pathways.sde.state.sc.us>
<davids@secnet.com>
<jou@nematic.ieo.nctu.edu.tw>
<adelton@fi.muni.cz>
<bourbon@netvision.net.il>
FROM_UNIXTIME()
ENCRYPT()
<luuk@wxs.nl>
DBI
crash-me
<root@medinf.chuvashia.su>
CREATE
FUNCTION
DROP
FUNCTION
<bobak@relog.ch>
AGGREGATE
<R.Wakelin@march.co.uk>
<jetman@li.net>
libmysql.dll
<jpereira@iafrica.com>
<cjs@portal.ca>
<m.ramsch@computer.org>
pthread_mutex()
MERGE
<jehamby@lightside>
<
<duane@connect.com.au>
<
<dkoch@amcity.com>
<luuk@wxs.nl>
<tps@users.buoy.com>
DBD::mysql
<gerberb@zenez.com>
<RM186061@shellus.com>
xmysql
<bourbon@netvision.net.il>
<frankie@citel.upc.es>
<jsmith@wtp.net>
<sklar@student.net>
<jlyon@imag.net>
.rpm
<lorvid@WOLFENET.com>
<patrick@coconet.com>
<rjharmon@uptimecomputers.com>
DBD
<mke@terrapin.turbolift.com>
<fty@mediapulse.com>
DBI
<pauls@etext.org>
<
<gilbert@ican.net>
<
<snajdr@pvt.net>
<jotel@itnet.com.pl>
<rmo@www.hivolda.no>
<root@timur.tatarstan.ru>
<brenno@dewinter.com>
<
<dirk@trinity.saar.de>
<billik@sun.uniag.sk>
<tzoompy@cs.washington.edu>
DBD
<a.koenig@mind.de>
<wiedmann@neckar-alb.de>
DBD::mysql
<eugene@acenet.com.sg>
mysqli
<maruzz@matrice.it>
<Xavier.Leroy@inria.fr>
libc
valgrind
DDD
MySQL server
MySQL server