Modify the default mysql character set in mac to utf8 bitsCN.com.
Modify mysql's default character set to utf8 in mac
1. check the character set of the default installed mysql
mysql> show variables like '%char%';+--------------------------+-----
How to set default column values in MYSQL bitsCN.com
How to set column default values in MYSQL
MySQL currently does not support column Default as a function. for example, if the Default value of a column is the current update date and time, you
Understanding and summary of MySql Query Cache and SQL Server process Cache I. MySql Query Cache
1. Query Cache
MySQL Query Cache is used to Cache the SELECT statement we execute and the result set of this statement. The specific technical details
MySQL scheduled task event bitsCN.com
MySQL scheduled task event
Due to some business needs, we may need to regularly clear some discarded data in the database, which can be completed using mysql stored procedures and events.
The following
MySQLSELECTLIMIT specifies the number of rows to query bitsCN.com
MySQL SELECT LIMIT
MySQL is the most widely used Database. it is known for its lightweight, open-source, and efficient nature. Once a product owned by SUN, as SUN was acquired by
BitsCN.com
Minor issues when using Mysql command line tool to execute SQL scripts
The SQL script is executed according to the syntax.
Source create. SQL (full path of the create. SQL file)
What I entered on my computer is
1
Modify the MySQL time zone. the time_zone bitsCN.com parameter is involved.
Modify the MySQL time zone, involving the time_zone parameter
First, you need to view the current mysql time zone, with the time_zone parameter
[html]mysql> show
Two methods for adding a user to MySQL: bitsCN.com
Two methods for adding a user to MySQL
The following example shows how to use a MySQL client to install a new user. These examples assume that the permission has been installed by default. This
How to improve the database update speed bitsCN.com
How to speed up database update
You don't have to worry about it .. See the following SQL statement.
[Java] String SQL = "update cats set name_alias = '" + rs. getString (1) + "'Where
Mysql Query type conversion bitsCN.com
Mysql Query type conversion
It is best not to convert data types during mysql queries, such as converting varchar to int.
mysql> explain select * from user where name=1/G
// If you are sure that the
Comparison of count statistics of mysql with tens of millions
Mysql count statistics comparison of tens of millions
Database: mysql 5.5
Data Volume: 45199077
SQL statement:
[SQL] select count (1) from tbresult; select count (id) from
MySQL best practices bitsCN.com
MySQL best practices
MYSQL best practices are described in the following two aspects:
1. table structure best practices
2. QUERY best practices
Table structure best practices:
1. the smaller the size, the better
Tips for mysql-implement split to intercept bitsCN.com without writing a function
Tips for mysql-implement split truncation without writing a function
1. implement split truncation without writing a function
Scenario: dayNewStat + meilishuo +
Stored procedure bitsCN.com
Stored Procedures for MySQL to execute search prompts with INOUT parameters
[SQL] DELIMITER $ USE 'b10k' $ DROP PROCEDURE IF EXISTS 'sp _ suggest '$ CREATE DEFINER = 'luth' @ '% 'procedure 'sp _ suggest '( IN
Slimming MySQL data file ibdata1 bitsCN.com
Slimming MySQL data file ibdata1
After MySQL runs for a period of time, the size of ibdata1 files will increase. even if the table data is deleted, the size of ibdata1 will not decrease. Due to limited
High availability of MySQLCluster bitsCN.com
High availability of MySQL Cluster-1
Mysql cluster can achieve a high reliability of 99.999. in this section, we mainly introduce some basic concepts:
Network Partitioning
In a mysql cluster, if a
Using VirtualBox to build MySQL test environment notes bitsCN.com
Network environment:
Host: Win7
VirtualBox 4.1.4 + Ubuntu 11.10 server 64bit
When the host uses a network cable, the client uses the Atheros AR8131 PCI-E Gigabit Ethernet
MySQL foreign key constraint cascade delete Mysql foreign key
BitsCN.com
MySQL foreign key constraint cascading deletion
Use foreign key constraints when updating databases
The first table stores some simple blog data, while the second table
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