MySQL database design review notes and project practices bitsCN.com
Author: Yang Xinqi
Recently, three projects were started on hand, and the other two started from the bottom layer. one was started for a while and developed by a small team in a
Mysql date and time format conversion implementation statement bitsCN.com here is an example of using the date function. The following query selects all records. The value of date_col is within the last 30 days:
Mysql> SELECT something FROM
MySQL configuration file my. cnf example most detailed translation bitsCN.com # BEGIN CONFIG INFO
# DESCR: 4 gb ram, only InnoDB, ACID, a small number of connections, large queue load
# TYPE: SYSTEM
# END CONFIG INFO
#
# This mysql
Simple configuration of the mysql master/slave server bitsCN.com first adds the login user permissions on the master server:
Grant replicate slave on *. * to 'username' @ 'host' identified by 'password'
Set the my. ini file of the master
MySQL study notes _ 8_ SQL basic language review bitsCN. comSQL basic language review I. Overview
SQL statement Comments
1) all contents starting with "#" until the end of the line are comments
2) all content starting with "--" (-- and then a space)
What can I do if MySQL cannot be used after installation? how can I solve bitsCN.com? here I only talk about some issues related to MySQL database installation?
I have installed MYSQL before. it seems that I do not need to start the service
Differences between Mysql sub-tables and partitions bitsCN.com
I. What are mysql table shards and partitions?What is table sharding? on the surface, it means dividing a table into N small tables. for details, see the three methods of mysql table
Chapter 2: Connecting multiple SQL tables to bitsCN.com
Multi-table join relationships of SQL are: INNER JOIN, outer join, and cross join.
Create two tables for demonstration:
TB_Characters:
Id
Character
1
MySQL writes a large amount of data bitsCN.com
1. for MyISAM tables, you can import a large amount of data quickly.
Alter table tbl_name disable keys; loading the dataALTER TABLE tbl_name enable keys;
These two commands enable or disable the
MySQL branch Percona bitsCN. comMySQL branch Percona
Reprinted from: http://www.cnblogs.com/cevin/archive/2012/05/12/2496859.html
Http://www.percona.com/
Percona has improved the MySQL database server and significantly improved its functions and
MySQL study notes _ connect C ++ C to MySQL database under 12_Linux (2) -- Return Data SQL Linux study notes
In bitsCN. comLinux, C ++/C connects to the MySQL database (2) -- Return Data SQL reference:
The SQL statement that returns data is used to
[MySQL] how to add innoDB to phpMyAdmin and create a foreign key ForeignKey phpmyadminMysql
How to add innoDB to phpMyAdmin
PhpNow (the free green Apache + PHP + MySQL environment package under Win32) finds that the database does not support the
Mysql char data type and varchar data type selection
Impact of storage engine on char and varchar selection:
For the MyISAM storage engine: it is best to use a fixed-length data column instead of a variable-length data column. In this way, the
Xampps1.8.764-bit officially released, one-click integration of wamp tool XAMPP
One-key integration tool for Apache + PHP + Mysql + PHPmyadminTools allow you to install Wamp and other environment components in a more user-friendly manner,
My experiences with MYSQL (5) my experiences with MYSQL (5)
My experiences with MYSQL (1)
My experiences with MYSQL (2)
My experiences with MYSQL (III)
My experiences with MYSQL (4)
There are many operators in MYSQL. this section mainly describes
Connect to MySQL in. NET 1, first MySQL website driver: http://www.mysql.com/products/connector/
2. install the downloaded installation package
3. create a Web Application in Visual Studio and introduce the DLL files in v2.0 or v4.0 under
Chapter 2 Introduction to MySQL storage engine 3rd overview of MySQL storage engine
Later, MySQL realized the need to change the architecture and stored the front-end business logic and back-end dataWhile clear hierarchies are split up, ISAM is
Before May 1, a DBA reported that a large slow log file was deleted in the daily environment (assuming the file size is more than 10 GB ), then execute flush slow logs in MySQL and you will find mysqld hang.
I tried to reproduce this problem today.
Release-25.10 isnowavailable Percona is gglad to announce the release ofPercona XtraDB Cluster5.5.37-25.10 on May 8, 2014. Binaries are available from thedownloads areaor from oursoftware repositories.
Based onPercona Server 5.5.37-35.0 including
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