SQL _modeSystem variables can regulate the SQL mode of MySQL
Any client can change the MySQL server's response to itself without affecting other clients.
If you want to set the SQL mode when MySQL starts, you can add the SQL _mode option
The operation method described in this article is only usedNonMsi InstallationProgramWhen the installed MySQL program or MySQL program is copied from another PC to the local machine;
Download or copy the latest MySQL program file to the local
Trap 1: NULL values are not necessarily emptyIn MySQL databases, null represents a special meaning for some special types of columns, not just a null value. For these special types of columns, you must remember two types. One is what I mentioned
Error 2003 (hy000): Can't connect to MySQL server on '*. *. *' (113) solution:
1. view the configuration file:
Skip-networking # comment out because it shields all TCP/IP connections
Bind-address = 127.0.0.1 # It is the same as the previous
Concat functions in MySQLUsage:
Concat (str1, str2 ,...)
Returns the string generated by the connection parameter. If any parameter is null, the return value is null.
Note:If all parameters are non-binary strings, the result is a non-binary
For the MySQL cluster configured in the preceding dual-machine Redundancy backup and load balancing policy (MySQL cluster getting started installation and Configuration Guide), we should create a database below, using MySQL cluster for redundant
I started to try MySQL today. I encountered some common problems when installing mysql. I hope it will be helpful to myself and friends:
Error 1: Step 2 of configuration execution: System prompt: "configuration file tmeplate E: \ website \ mysql \
MySQL basic commands
Favorites
First, start and stop the MySQL Service
Net stop MySQL
Net start MySQL
Second, log on to MySQL
Syntax: mysql-u user name-P User Password
Enter the mysql-uroot-p command, press enter and prompt you to enter the
// Convert data when writing data to the databasePublic String gb2312_iso8859 (string write){// Declare the character setSystem. Text. Encoding iso8859, gb2312;// Iso8859Iso8859 = system. Text. encoding. getencoding ("iso8859-1 ");// 2312 GBGb2312 =
1. Modify the table creation engine
Mysql> Create Table test_2 (-> name varchar (10),-> year int (10)-> engine = InnoDB; --> specify the default Engine Query OK when creating a table, 0 rows affected( 0.10 Sec) mysql> show create table test_2 \ G ***
[Intrinsic column flags] (basic field type identifier)-PK: Primary Key (column is part of a PK) primary key-NN: not null (column is nullable) not empty-Uq: Unique (column is part of a unique key) unique-AI: auto increment (the column is auto
There are four database isolation levels, as described in the high-performance MySQL book:
Then let's talk about how to modify the transaction isolation level:
1. Modify the global settings, modify the mysql. ini configuration file, and add
1 #
Replace runs like insert. There is only one exception. Assume that an old record in the table and a record used for primary
If the new record of a key or unique index has the same value, the old record is deleted before the new record is
From http://blog.csdn.net/crazylaa/archive/2010/03/11/5368819.aspx
Mysql5.1.xA new feature is introduced in the version.EventAs the name implies, it is an event and scheduled task mechanism that executes specific tasks within a specified time unit.
From http:// I .19830102.com/archives/164
Python: 2.6: Http://www.python.org/download/releases/2.6.1/Download and install the MSI file
Mysqldb version: MySQL-python-1.2.2.win32-py2.6.exe:
One afternoon, almost all of them were spent on this xxoo!
Vs2008, MVC 1.0, nhib1_2.2, MySQL XX, configure web. config according to the official NH example
NHibernate.Driver.MySqlDataDriver Database=test;Data
The master-slave configuration of the MySQL server is a very simple task. Instead of starting from scratch, it is always on the MySQL server that has been installed by others. This will involve the mysql version, startup File and other issues.
But
-- Suitable for intra-site searches with over million data records and civilian-level solutions
Environment: Linux mysql4/5 (versions above 5 can be directly compiled into MySql in the form of plug-ins)
Friends who use MySQL must have the experience
Multi-version concurrency control multi-version Concurrency Control
Most MySQL transaction storage engines, such as InnoDB, Falcon, and pbxt, do not use a simpleSingle Row lock mechanism.
In fact, they have always been used with another mechanism
[Author: Zhang banquet this article version: V1.0 final modification: 2008.11.19 reprint please indicate the original article link: http://blog.s135.com/post/#/]
In production applications, a data server with the "nginx + PHP + MySQL" interface
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