Engine=innodb auto_increment=2 DEFAULT charset=utf8 Conversion SQL Server
Auto_increment=2, which is the initial value of the auto-increment column = 2,sql Server sets the default through IDENTITY Charset=utf8
Default Charset=utf8 = Utf8sql
I configured & #039; DEFAULT_CHARSET & #039; & quot; UTF-8 & quot; globally, but it seems that the specific method still needs to be set again. why? I configured 'default _ charset' = "UTF-8" globally ",
But it seems that the specific method
Right syntax to use near 'using BTREE) ENGINE = InnoDB default charset = utf8' at line 6, btreeinnodb
When navicat for mysql 10.0.10 is used to restore the database backup generated on the server to the local database, the following problems occur:
Using Navcat to import MySQL data from someone else, the following error was reported:[ERR] 1064-you has an error in your SQL syntax; Check the manual that corresponds to your MySQL server version for the right syntax to use the USING BTREE)
When you use Navicat for MySQL 10.0.10 to restore a database backup that is generated on a server to a local database, the following issues occur:[ERR] 1064-you has an error in your SQL syntax; Check the manual that corresponds to your MySQL server
Back up the MySQL data table structure
[Root@mysql ~]#/usr/local/mysql/bin/mysqldump-uroot-p ' admin '-D Mysql servers>/backup/mysql-structure-tables-$ ( Date +%f). sql[Root@mysql ~]# egrep-v
MySQL read/write splitting using MyCAT
MyCAT is a database middleware developed based on Alibaba's open-source cobar product. It is jointly developed and open-source by several talented people with lofty ideals. Provides highly available data
First of all, this version hustoj is a skin and improved for https://code.google.com/p/hustoj/. So the can migrate the old version of Web to this version without any big chance.This are not a deep tutorial for beginner, the base step to OS and
SchemaSync is an open-source command line tool for MySql synchronization. it is used to read the schema of the source and target databases and automatically generate SQL statements for synchronous update and rollback to facilitate automatic Schema
/////////////////////////////////////////////////////////////////////////////Mini Alumni (Http://www.piscdong.com/?m=mini_class)//(c) Piscdong Studio (http://www.piscdong.com/)//The program is completely free, please keep this code.Do not sell this
DDL statement -- modify a table
Modifying a table is to modify the definition of an existing table in the database. It is simple to modify a table because it does not need to reload data or affect ongoing services.
MySQL uses the alter table
/************************************************mysql Database View related Information statement *****************************************/SELECT version ();--View the database revision numberSELECT user (), current_user ();--Production view
Workflow is the flow of business information data between modules in multiple links. As defined by the Workflow Management Alliance, workflows refer to "The automation of part or all of a business process in a computer application environment". In
We can directly use alter to modify the character set of the mysql table. However, we should pay attention to the inclusion relationship between codes when modifying the data set. It is best to back up the data table to avoid garbled characters.
The
The correct statement to change the table character set is:ALTER TABLE XXX convert to character set UTF8;Rather than take for granted:ALTER TABLE XXX default CharSet UTF8;
The character set is converted from GBK to UTF8,Increases the space occupied
Section review:1. Using ATM to elicit DBMS2. MySQL-Service Side-Client3. Communications and communication-Authorized-SQL statements-databases create database db1;? Drop database db1; -The data table first creates the TB2
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.