A MySQL profile1 relational databaseRepresentative Product: MySQL Oracle SQL Server2 Non-relational database (NoSQL)On behalf of the product: MongoDB memcache Redis, Cassandra HBASE couchdbThe history of MySQL development1 MySQL Introduction2
For cases where the database is garbled, first look at the database encoding1. View Database encoding2, set the connection codeThe encoding of the server, database, and data table sections is set, and the connection encoding must be set. The
First, configure the MySQL database1, unzip the green version of MySQL, and renamed to mysql5.7, such asCompare the previous version of 5.6 with less data directory (storage) and My-default.ini files (configuration information)Second, installation
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.
Through show variables like ' character_set%% '; view encodingThere are several ways to modify MySQL's encoding:1. Modify My.ini (under Windows) or/ETC/MY.CNF (under Linux) via configuration file
Add the following separately
650)
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
MySQL5.6 master-slave Replication Based on GTID, mysql5.6gtid master-slave
One of the new features of MySQL 5.6 is the addition of a global transaction ID (GTID) to enhance database master-slave consistency, fault recovery, and fault tolerance
Verification of the MyCAT Character Set
The default Character Set of MyCAT is UTF8.
The following describes how to check the log to verify the effect of different MySQL client character sets and server character sets on MyCAT.
There are three main
Introduction: This is a detailed page of MySQL database encoding problem 3 (modifying the database, table, and field encoding to utf8). It introduces the related knowledge, skills, and experience of PHP, and some PHP source code.
Class = 'pingjiaf'
Mac_MySQL installation, mysql
1. Download and install
Go to the MySQL official website at http://dev.mysql.com/downloads/mysql/, and download about 164 MB of Community Server.
On the following page, select No thanks, just start my download]
The
Solve the problem related to mysql inserting Chinese Characters in centos 7
After mysql is installed, the database abc is created, and a new abc table is created. There is no problem in English language insertion, but there is a problem in Chinese
Configure and manage MYSQL in ubuntu
BitsCN.com
Configure and manage MYSQL in ubuntu
1. install MySQL
1. online installation:
Command: sudo apt-get install mysql-server
During the installation process, you will be prompted to set a password for
Introduction to triggers in Mysql and use cases bitsCN.com
What is a trigger?
A trigger is a database program that monitors a behavior of a data table. Once the behavior of a data table occurs, the corresponding SQL statement is executed
Apsaradb for MySQL basic bitsCN.com was launched on July 15, 13th
I. SQL
SQL: Structured Query Language
Structured Query Language
SQL industrial standard: by ANSI (ISO (international standard orgnation) Core Member)
SQL statements compiled
! (Optional) why does it change to utf8 after I execute the following command line, but after I exit mysql, it becomes gbk encoded again? mysql & gt; SETcharacter_set_clientutf8; mysql & gt; SETcharacter_set_resultsutf8; mysql & gt; SETcharacter_set_
Here is the code to back up the database, but why the data is garbled in Chinese??
Backing Up the database
Define (' In_fdyu ', true);
Require (' includes/config.php ');
The account number, password, and name are all transmitted from the page.
if (
1 set phpMyAdminLanguage: Chinesesimplified (zh-utf-8) MySQL character set: UTF-8Unicode (utf8) MySQL connection revision gbk_chinese_ci2 when creating the database clean up set to gbk_chinese_ci3 with SQL create table ENGINE = M
1. set phpMyAdmin
1. Configure the components required to execute the taskTask configuration file:/protected/config/console. phpThe configuration method is similar to the configuration of the main file [html] // This is the configuration for yiic console application./
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.