For an introduction to these four isolation levels:
Unread (Read UNCOMMITTED). Another transaction modifies the data but has not yet committed, and select in this transaction reads the uncommitted data (dirty read).
Submit Read
1. Connect MySQLFormat: mysql-h host address-u user name-P user Password1.1. Connect to MySQL on this machine.First open the DOS window, then enter the directory Mysql/bin, and then type the command mysql-u root-p, enter the password prompt. The
There's a material that foggy me. Now use your own words to summarize, write words, can deepen their understanding. Also in the process of writing to help themselves to find the understanding of defects, continue to check the data
Modify via MySQL command line: Just modify the encoding of the current databaseMysql> set Character_set_client=utf8;Mysql> set Character_set_connection=utf8;Mysql> set Character_set_database=utf8;Mysql> set Character_set_results=utf8;Mysql> set
1. adding groups and usersGroupadd MySQLuseradd-g MySQL mysql-s/bin/falseMkdir/data/mysql-pChown-r Mysql:mysql/data/mysql2. download the MySQL packageCd/usr/localwget http://cdn.mysql.com/archives/mysql-5.6/mysql-5.6.21.tar.gz3. Download the
Mysql Binlog logs are available in three formats, statement,mixed, respectively, and row!1.Statement: Every SQL that modifies data is recorded in Binlog .Advantages: There is no need to record changes in each row, reducing the Binlog log volume,
Environment: CentOS7Software: MySQL5.6.261 Download MySQL source packagewget http://nchc.dl.sourceforge.net/project/zabbix/ZABBIX%20Latest%20Stable/2.2.10/zabbix-2.2.10.tar.gz2 Unzip the downloaded file to the/usr/local directory and modify the
1. IntroductionXtrabackup is the MySQL database backup tool for Percona. An open source tool for hot provisioning of InnoDB and XTRADB.1> its backup process is fast and reliable2> can save disk and traffic based on compression function3> The backup
MySQL SQL statements Daquan1. Description: Create Database create database database-name2, Description: Delete database Drop database dbname3, Description: Backup SQL Server---Create Back up the data deviceuse masterexec sp_addumpdevice ' disk ', '
#!/bin/bash#auto backup MySQL#xiaosu 2015-08-06User=rootpassword=123456dir_back=/data/' Date +%y%m%d 'Date= ' Date +%y%m%d 'Database=test#判断用户是否是管理员rootIf [$UID-ne 0];thenEcho-e "\033[32mthe script must use root\033[0m"Sleep 2ExitFi#判断备份目录是否存在if
1 The concept of the MySQL storage engine
The data in MySQL is stored in files (or memory) in various different technologies, using different storage mechanisms, indexing techniques, locking levels, and ultimately providing a wide range of
The backup of the database is an extremely important thing. If you do not have a backup, you will be crazy if you encounter the following conditions:UPDATE or DELETE whitout where ...Table was DROPPed accidentally ...INNODB was corrupt ...Entire
MySQL transaction isolation level and lockTable structureCREATE TABLE record (ID int auto_increment primary key,title varchar (255) not null,shortname varchar (255) Not Null,authorid int not null,createtime datetime does null,state int not
Operation of MySQL DatabaseOne: View all the databases in MySQLSHOW DATABASES;Two: Create a databaseCretae database name;Three: Deleting a databaseDROP database name;Four: View the storage engines supported by the databaseSHOW ENGINES;Four: Connect
Course Outline:1. Forget the root passwordEdit MySQL Master profile my.cnf in the [Mysqld] field to add parameters skip-grant, restart the database service, so that you can enter the database without authorization mysql-uroot, modify the
View the version of the database serverSelect version ();Create a databaseCreate DATABASE dbname Character_set=utf8 collate=utf8_general_ciDeleting a databaseDrop Database dbname;Select the database to useMysql>use dbname;View the table names that
MYSQL queries are case insensitive by default, for example: CREATE TABLE T1 (NAME VARCHAR (10)); For this table, by default, the results of the following two queries are the same: SELECT * from T1 WHERE name= ' ABC '; SELECT * from T1 WHERE name= '
1 extracting MySQLUnzip the file to your favorite directory, below is my own directory.Catalog: D:\Program files\mysql\mysql-5.6.25-winx64Will unzip the directory under the default file My-default.ini copy one copy, renamed My.ini,and configure
Stop all MySQL service processes firstOpen the first cmd window and go to the MySQL bin directory to execute the following command#mysqld--skip-grant-tablesNote that at this point in time (the CMD window cannot continue to be used.) We re-open a cmd
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