Original address: MySQL Some important configuration parameters of learning and finishing (iii) Before MySQL some important configuration parameters of learning and finishing (a) and MySQL some important configuration parameters of learning and
[mysqld]Configurationdefault-storage- engine = MyISAM Select a table storage engine by default ignore -bulidin- InnoDB ignores the InnoDB engine that comes with MySQL, and uses this configuration to introduce itself to the external InnoDB engine,
After installing PHP and MySQL on the Linux CentOS system, for convenience, PHP and MySQL commands need to be added to the system commands, if you do not add to the environment variable, execute "php-v" command to view the current PHP version
From_unixtime (unix_timestamp, format) converts the timestamp to the specified format As:select from_unixtime (addtime, '%y-%m-%d%h:%i:%s ') as DateTime From Table1unix_timestamp ([datetime]) converts datetime to timestamp as:select from_unixtime
Reference link http://blog.csdn.net/leili0806/article/details/8573636, thank you for this guy. 1. Create a new user's SQL statement:CREATE USER ' pig ' @ ' 192.168.1.101_ ' idendified by ' 123456 ';Pig is the user name , followed by the specified IP(
For MySQL, there are three levels of Lock: page level, table level, row levelThe typical representative engine for the page level is BDB.The typical representative engine for the table level is myisam,memory and the ISAM of a long time ago.The
Mysql> grant permissions 1, permissions 2,... Permission n on the database name. Table name to User name @ user address identified by ' connection password ';Permissions 1, Permissions 2,... Permission n represents 14 permissions, such as
--all-databases,-AExport all databases.--all-tablespaces, YExport all table spaces.--no-tablespaces, YNo table space information is exported.--add-drop-databaseAdd drop DATABASE statements before each database is created.--add-drop-tableAdd Drop
Auditing in MySQLHttp://www.mysql.com/products/enterprise/audit.htmlMySQL Enterprise Auditmysql Enterprise Edition
Oracle Enterprise Manager
MySQL Enterprise-level monitoring
MySQL Enterprise-class backup
MySQL Enterprise-class high
the use of havingHaving words allows us to filter the various data after the group, where the words are filtered before aggregation, that is, before group by and having a sentence. The HAVING clause filters the group records after aggregation.SQL
Database object Optimization 1. Optimize the data type of the table
Use procedure analyse () to parse the currently applied table, which can make recommendations for optimizing the data types of the columns in the data table. SELECT * from
(8) to delete the function of the specified stringTRIM (S1 from S)TRIM (S1 from S2) deletes all substrings in the string s s1. S1 is optional, and when unspecified, removes spaces. Select Trim (' xy ' from ' xyxboxyokxxyxy ');(9) function for
Install Cmake1. Download CMake source code at http://www.cmake.org/files/v3.1/cmake-3.1.0.tar.gz2../configure & make & make InstallBuild mysql source code download at MySQL http://cdn.mysql.com/archives/mysql-5.7/mysql-5.7.4-m14.tar.gz1.
One-click installation of zabbix, provided that mysql has been installed with a password, has been tested on centos 6.5, zabbixcentos
#!/bin/bash
# Zabbix one-click installation # Database User Name DBUSER = 'root' # Database User Password DBPASS =
MySql Replication configuration, mysqlreplicationI. Preface
As a cheap solution for read/write splitting, Mysql Replication supports one master node and multiple slave nodes for data storage and binary log transmission. Currently, Mysql Replication
MySQL-11-Stored Procedure
Stored Procedure
The commonly used operating database language SQL statements must be compiled and then executed before execution. The Stored Procedure (Stored Procedure) is a set of SQL statements for specific functions,
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service