command-line Export database:1, into the MySQL directory under the Bin folder: cd MySQL to the Bin folder directoryAs I entered the command line: CD C:/Program files/mysql/mysql Server 4.1/bin2, Export database: Mysqldump-u user name-p database name
One of the new features of MySQL 5.6 is the addition of a global transaction ID (Gtid) to enhance the database's primary provisioning consistency, failback, and fault tolerance.
What is Gtid?
Official documentation:http://dev.mysql.com/doc/refman/5
I. Introduction of binlog-rollback.pl Toolsis a Perl-developed scripting tool that primarily generates a reverse DML SQL statement:#基于row模式的binlog,生成DML(insert/update/delete)的rollback语句#通过mysqlbinlog -v 解析binlog生成可读的sql文件#提取需要处理的有效sql#"###
setting, changing the root user password
The first use of MySQL will prompt ' This command is not ' because the command has not been added to the environment variable, if you want to use the command, you need to use its absolute
August 15, 2018, today because of the previous error (because the company did not understand the business caused) so that a field should not be assigned to the assignment, the magic is actually on the production, and then a series of data errors, in
1. Backing up a single databaseMysqldump-u Ymoa--opt--default-character-set=utf8-p ymoadb >/app/wodsy/backup/ymoadb.sqlMysqldump: Backup command-U: User name--opt: This option is shorthand, equivalent to
MySQL installation configuration (win7 64-bit)Turn, tidy.MySQL version isMysql-noinstall-5.1.66-winx64.zip (free installation version)Mysql-workbench-gpl-5.2.44-win32.msimysql-connector-java-5.1.22The MySQL configuration database is encoded as UTF-8
9.1 Creating a DatabaseCommand syntax: Create database Note Library name cannot start with a numberIn the case of MySQL default character set, the database test is as follows:A. Creating a database named ZBF[email protected] 08:3120->create database
Another application is in Server management, the parent process that does not involve the database server program to stop running, you can also use these tools to terminate. Why can't the parent process of the database server kill with these tools?
First, check whether the system installs other versions of MySQL data#yum List Installed | grep mysql#yum-y Remove mysql-libs.x86_64Second, installation and configuration# wget http://repo.mysql.com/mysql-community-release-el6-5.noarch.rpm# RPM-IVH
First, login MySQL view with show VARIABLES like ' character% '; The following character set, shown below:+--------------------------+----------------------------+| Variable_name | Value |+--------------------------+----------------------------+|
This article summarizes the MySQL import and export data in Chinese garbled solution, the appearance of Chinese garbled general situation is imported when the encoding of the problem, as long as the code to adjust the consistency can solve this
in Linux systemsLinux defaults to UTF8 encoding, and Windows is GBK encoded, so the above garbled problem occurs.Troubleshoot MySQL import and export data garbled problemThe first thing to do is to determine the encoding format of your exported data,
Method 1:First, view the database encoding format
1
mysql> show variables like‘character_set_database‘;
Second, look at the data table encoding format
1
mysql> show createtable;
Iii.
ALTER TABLE logtest CONVERT to CHARACTER SET UTF8 COLLATE utf8_general_ci;To modify the database character set:The code is as follows:ALTER DATABASE db_name DEFAULT CHARACTER SET character_name [COLLATE ...];Change the default character set of the
There is time to write today, otherwise the heart is always a bit uncomfortable. single-Machine multi-instance has always been the style of the cock silk ...Experimental environmentRHEL6.5172.24.0.130 3306172.24.0.130 330701, the use of the MySQL
http://blog.csdn.net/martinkro/article/details/53524741 Character set concepts in MySQLThere are two concepts in the MySQL character set, one is "Character set (character set)" and the other is "collations".1.1 CollationsCollations translated into
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.