After MySQL master-slave, in order to two (or more) machines to make full use of the need to read and write separation highlighted. Advantages and disadvantages Here is not the focus of the discussion!There are three ways to read and write MySQL:1.
MySQL version: 5.5The notebook is dead again, only the screen is alive, it should be the memory disk problem. In short, I opened the MySQL service and forced shutdown, when the computer opened again, the MySQL service failed to start.First look at
Keywords: MySQL multi-instance run under WindowsPre-reading precautions:1, some version of the data directory is not directly placed in the MySQL installation directory, it is possible to: C:\ProgramData\MySQL\MySQL Server 5.1\data (regardless of
Problem Recurrence (The following discussion is for Windows environments only): C:\appserv\mysql> Mysql-u Root-pEnter Password:ERROR 1045 (28000): Access denied for user ' root ' @ ' localhost ' (using Password:yes) Edit the MySQL profile My.ini(do
text
CHAR (*): A fixed-length string of up to 255 bytes, whose length must be specified at creation time
VARCHAR (*): A variable-length string of up to 255 bytes, whose length must be specified at creation time
Text: variable length text
The function returns a string result with a non-null value for a connection from a group. The function is an enhanced Sybase SQL anywhere supported basic list () function.Syntax structure:Group_concat ([DISTINCT] expr [, expr ...] [ORDER by
Original Configuration path:/var/lib/mysqlNeed to migrate to:/data/mysql1. Modify the configurationVim/etc/mysql/my.cnfDataDir =/data/=/data/mysql/error.log2. Move the original DataDir directorysudo mv/var/lib/mysql/data/mysql3. Modify sudo
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
MySQL Add user, delete user, authorization, change password and so on MySQL add user, new database, user authorization, delete user, change password1. Create a new user. Log in to MySQL@>mysql-u root-p@> PasswordCreate usermysql> mysql> INSERT INTO
Allow the root user to remotely log in anywhere and have all the permissions of the library, as follows: Use the root user login mysql:mysql-u root-p "Youpassword" to authorize the operation on the local computer: Mysql>grant all Privileges on * *
Http://www.silverlightchina.net/html/tips/2009/1210/384.htmlSqlDataAdapter usageQ: What is DataAdapter?A: The DataAdapter object acts as a bridge between the dataset and the dataString strconn= "uid= account; pwd= password; database= database;
Mysql master Replication
The customer needs high availability in the project, and the database is a key part of high availability. I have studied the high availability of many mysql instances, using mysql cluster and mysql master-slave master-master
No installation of mysql configuration, no installation of mysql
1. Download the compressed package: Go to the official website to download the free-of-installation MySQL compressed package http://dev.mysql.com/downloads/mysql/ 64646464646464:
2.
How to back up a MySQL database
There are two methods to back up data in MySQL:
1. mysqlhotcopy
This command locks the table before copying the file and synchronizes the data to the data file to avoid copying to incomplete data files. This is the
How to automatically back up MySQL in Linux, and how to back up mysql in linux
In Linux, you can use the crontab system to regularly back up MySQL databases on a daily basis. The detailed steps are as follows:
1. Create the path to save the backup
Differences between MyISAM and InnoDB (Brief Introduction), myisaminnodb
MySQL has multiple storage engines. MyISAM and InnoDB are two common storage engines. Here we will introduce some basic concepts about the two engines (not in depth ).
MyISAM
MySQLInnoDB lock mechanism (1)
MySQL InnoDB has four types of locks: Shared locks (read locks, S locks), exclusive locks (write locks, X locks), intention shared locks (IS locks), and intention exclusive locks (IX locks ). The shared locks and
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