Some common O & M Records of linuxmysql, bitsCN.com
Common O & M Records for linux mysql
// Stop mysql
# Service mysqld stop
// Start mysql in safe mode and skip permission check
# Mysqld_safe -- user = mysql -- skip-grant-tables &
//
Mysql index -- (mysql 2) bitsCN.com
Mysql index -- (mysql 2)
Index type:
Normal index
Primary key
Foreign key
Unique index
Non-unique
Professional index:
-- B-tree balanced number index, which is different from binary tree. the height of a binary
Mysql real-time synchronization-dual-host mutual standby (dual master) bitsCN.com
Mysql real-time synchronization-dual-host mutual backup (dual master)
Setting method:
Step 1
On server A (192.168.1.43), the user is backup, 123456, and the
Mysql obtains all database table names and field comments bitsCN.com
Mysql obtains all table names and field comments of the database.
1. obtain field comments
Java code
Select COLUMN_NAME column name, DATA_TYPE field type, COLUMN_COMMENT
$ _ SERVER array element description bitsCN.com
$ _ SERVER array element description
$ _ SERVER ['php _ SELF '] # file name of the script being executed, which is related to document root.
$ _ SERVER ['argv'] # parameters passed to the script.
$ _
User and password generation management in mysql bitsCN.com
User and password generation management in mysql
Application launch involves user name and password management. as the launch application increases, user name and password management
Common methods for starting, stopping, and restarting MySQL: bitsCN.com
Common operations for starting, stopping, and restarting MySQL
I. startup mode
1. start with service: service mysqld start2, start with mysqld script:/etc/inint.
Description of Sysbench parameters: bitsCN.com
Description of Sysbench parameters
# Sysbench test case: sysbench [general-options]… -Test =
[Test-options]… Command common options: -- num-threads = N number of test threads created. The
In linux, mysql automatically backs up databases and automatically deletes temporary files bitsCN.com.
Mysql automatically backs up databases and deletes temporary files in linux
1. Automatically delete temporary files at every day
First, check
The role and separation of ibdata in mysqlInnodb bitsCN.com
Functions and separation of ibdata of mysql Innodb
In the mysql INNODB data status, ibdata is used to store file data, while the table files in the folder of the database name are only
Mysql numeric data type bitsCN.com
Mysql value data type
MySQL numeric data types can be roughly divided into two categories: one is an integer, and the other is a floating point or decimal. Many different subtypes are available for each of these
[MySQL] account and permission management bitsCN.com
[MySQL] account and permission management
MySQL initial account management
The initial MySQL account is as follows:
[sql] [root@lx16 ~]# mysql -u root mysql> select host,user,password from
A possible optimization method for mysqllimit large offset bitsCN.com
A possible optimization method for mysql limit large offset
When the mysql limit statement has a large amount of data, the offset After limit is too large, and the first query
Don't stick to the details-mysql field type details bitsCN.com
Don't stick to the details-mysql field type details
Mysql field type intvarchartext
Maybe you don't care at ordinary times. when designing a database, you can set the number to an int (
10 tips every MySQL developer should know: bitsCN.com
MySQL is the most popular database management system in the world and the first choice for programming communities all over the world. It has an interesting series of features and is very good at
Mysql backup recovery (view, stored procedure) bitsCN.com
Mysql backup and restoration (views and stored procedures)
Recently, when I backed up and restored mysql, I found that the view was restored and an error occurred while creating the view. I
Mysql log type bitsCN.com
1. [Error Log] --- record problems that occur when mysqld is started, running, or stopped
You can use the -- log-error [= file_name] option to specify the location where mysqld saves the error log file. If the file_name
MySQLUUID function description bitsCN.com
MySQL UUID function details
MySQL has two tools for generating unique values: UUID () function and auto-incrementing sequence. what is the difference between them? In this regard, we will compare their
MYSQL deadlock-related searches for bitsCN.com
MYSQL deadlock search
If a deadlock occurs, how can this problem be solved? Find the original lock ID and KILL the thread that has been held all the time. but how can we find the thread ID that causes
How to change the default Win8 boot system in multiple systems
BitsCN.com
How to change the default Win8 boot system in multiple systems
Maybe netizens can install multiple systems on their computers. you can use any system you want! However,
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