MySQL has several ways to back upRecently blogs have been trying to write some. But do not know what to write, feel that their recent knowledge has nothing to add, today I think of a blog can write. I have tried to back up MySQL from the data
There's nothing more to see.Basic Knowledge Review
Basic knowledge, especially some theoretical knowledge, such as:
What are the index types of MySQL, which is a semi-open proposition;
From the
concurrency control shared lock exclusive lock table-level row-level lock InnoDB Falcontransaction: Start Transaction ..... CommitACID: atomicity, consistency, isolation, durabilityA deadlock is a vicious phenomenon that occurs when two or more
MySQL master-Slave Building summaryI. prerequisites for MySQL master-slave database construction1.mysql version must be consistent2. change the firewall and SELinux policies to prevent test failurestwo . Modify the master server configuration file ,
show variables like '%character% '; +--------------------------+--------------- -------------+| variable_name | Value |+--------------------------+----------------------------+| character _set_client | utf8
~ ~ Grammar ~ ~CREATE TRIGGER --The trigger must have a name, a maximum of 64 characters, and may be appended with a delimiter. It is basically like naming other objects in MySQL.{before | After} --the trigger has a time setting for execution: it
MySQL Blog directoryLinux CentOS6.6 i386 source CMake compile MySQL 5.5http://990487026.blog.51cto.com/10133282/1692874MySQL mysqldmin command line tool GUI toolhttp://990487026.blog.51cto.com/10133282/1692910MySQL data types and Sql_modehttp://99048
Data installation ConfigurationUpload mysql-community-release-el6-5.noarch.rpm PackageEnsure database version is consistentInstalling RPM PackagesThe address and package name of the RPM-IVH package. rpmYum UpdateInstalling Mysql-serverYum-y Install
First, use Talend to randomly generate 10 million data: There are now 10 million + data in the database table: Mysql> Select Count(*) fromZhangchao;+----------+| Count(*)|+----------+| 10040005 |+----------+1Rowinch Set(2.50SecThe time to query a
MySQL modifies a column, modifying only the type of the column, such as the original Decimal (11,2), to Int (11), which can be writtenALTER TABLE COLUMN int (DEFAULT0' notes ';Note that although you only want to modify the column type, the
All codes are used for self-study test and annotation, knowledge details or knowledge points will not be exhaustive, there will be no explanation, only for their own study review.# #数据库操作 # #创建数据库 MyTest, and set the database character set to
The system has MySQL Backup tool mysqldumpBackup MySQL format is similar to MySQL login, plus the backup library name. Remote backup and local backup availablemysqldump-uroot-phd792310 DiscuzCommon mysqldump-uroot-phd792310 discuz
Format: Grant Select on database. * To User name @ login host identified by "password"1, add a user test1 password for ABC, so that he can log on any host, and all databases have query, insert, modify, delete permissions. First connect to MySQL with
Example: MySQL installed under E:\Program files\xampp\mysql1: Start ==> run ==>cmd2:e://Enter E-drive3:E:\>CD programe files//Enter the Programe files root directory4:e:\programe FILES\CD XAMPP5:e:\programe files\xampp\ CD MySQL6:e:\programe
Write in frontBecause of the recent use of MySQL more, so want to understand the content of the next ef+mysql, found that EF connected MySQL database, there is a road toss. Toss to the end, crazy.StepsThis is the way to use EF with DB first.From the
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.