Http://www.infoq.com/cn/articles/in-mysql-never-use-utf8-use-utf8I recently encountered a bug where I tried to save a UTF-8 string in a "UTF8" encoded mariadb with rails, and then a bizarre error occurred:Incorrect string value: ‘\xF0\x9F\x98\x83 I
MySQL supports a large number of data types, so choosing the right data type is critical to getting high performance. Then understand the pros and cons of various types first!First, type introduction1. Integral type The integral type is:
MySQL's SQL useBrief introductionWhat is SQL?SQL refers to Structured query languageSQL gives us the ability to access a databaseSQL is an ANSI standard computer languageRemarks: ANSI, national standardization organization of the United StatesFirst,
First, MySQL multi-instance 1, IntroductionWhat makes multiple instances?Multi-instance is to open a number of different service ports on a single machine (for example: 3306,3307);Run multiple MySQL service processes that provide their own services
15th Chapter-junction tableThis chapter describes what a junction is, why you use a junction, and how to write a SELECT statement that uses a junction.15.1 couplingOne of the most powerful features of SQL is the ability to join tables in the
MySQL Quick Start batUsing batch processing under Windows to start off MySQL, the main idea is to register MySQL as a service under Windows and recommend it to everyone.The green version of MySQL is registered as a service under Windows, or the
SQL optimization
Insert using Bulk
Query do not use *, mysq need to find out all the fields in the table before matching
The query condition of the string is quoted, otherwise it may not go to the index
Backup and Recovery
MySQL parameter optimizationMySQL parameter optimization for different sites, and their online volume, traffic, number of posts, network conditions, as well as the machine hardware configuration has a relationship, optimization can not be done at
Typically, we run Web applications with Linux distributions from CentOS, Ubuntu, Debian, and more. At this time, constitute the service architecture must be nginx, PHP and MySQL, and other applications of the rights control is very important, each
MySQL database is a common relational databaseWhat are the core elements of a relational database?Primary key: Special field to uniquely identify the uniqueness of a recordFields: Data columnsRecords: Data rowsData table: Collection of data
MySQL Basic simple operationEnter the Mysql container first.[[email protected] ~]# docker exec -it mysql /bin/bash[email protected]:/# mysql -uroot -p000000mysql: [Warning] Using a password on the command line interface can be insecure.Welcome to
22nd chapter-Working with viewsThis chapter describes what the views are, how they work, and when to use them. We'll also see how to use the view to simplify some of the SQL operations performed in the previous section.22.1 viewsRequires MySQL 5
springboot using JDBC to connect to MySQL databaseSpring connects MySQL in many ways, such as jdbc,spring Jpa,hibeirnate,mybatis, this article mainly introduces using the simplest, lowest level JDBC way to connect MySQL database, JDBC Connection
The importance of database backup
Improve the system's high availability and disaster recoverability, when the database system crashes, no data backup can not find data.
Restoring a database using a database backup is the best solution
MySQL is a client-server-based DBMS, so in order to use MySQL for the draw net source build, you need a client software to provide MySQL with the command to execute. Enterprise e: 217 1793 408 that is, you need a tool to write and test MySQL scripts.
First, prepare the environment 1. master server A (192.168.0.176), from Server B (192.168.0.13).2. The MySQL database is deployed on all two servers. (The database version on the two server must be consistent)3. Create the Rb-test database
BackgroundNavicat is the best of the MySQL visualizer, but in terms of the import and export of the view, it is handled in alphabetical order by the view name, and when the view is dependent, it will be an error during the import process. The
In the daily operation and maintenance work, for the MySQL database permissions to evade, SQL Audit optimization, data backup recovery has become, the work necessary skills;The importance of the database to the website makes our management of MySQL
Encountered a need to import the data table from the local MySQL to the server MySQL problem, in the online search, did not find that the operation is very clear, many operations are using the command line to achieve, their own research, found that
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