It seems that zdnet's lab has done an authoritative test.Performance of sqlserver in WindowsPerformance of Oracle and MySQL in LinuxComparison (there are other database systems, such as DB2 and Informix)As a result, under 500 concurrent connections,
MySQL may encounter Chinese garbled characters for the following reasons: 1. server settings, such as Latin1 2. table language setup issues (including character and collation) 3. connection language settings of client programs (such as PHP) utf8
First, we need to display the status of MySQL and the dynamic value of the server caused by a series of operations. We can only look at it to judge and cannot change it.
Show status; Session level.
The number of operations after this logon.
Show
MySQL database errors caused by power failure or abnormal shutdown are very common problems. There are two methods: one is to use the check table and repair table SQL statements of MySQL, and the other is to use multiple myisamchk and isamchk Data
MySQL configuration principles rational configuration of MySQL the most reasonable use of MySQL for MyISAM or InnoDB for different application conditions rational configuration for my. CNFConfiguration, followed by reasonable settings for servers
C # MySQL connection
Mysqlconnection conn = NULL;
Try
{
// Mysqlconnection conn = new mysqlconnection (New mysqlconnectionstring ("myquest", "root", "amttgroup"). asstring );
// Instantiate a connection object. myquest is the database name,
Bigint
Integer Data from-2 ^ 63 (-9223372036854775808) to 2 ^ 63-1 (9223372036854775807) (All numbers ). The storage size is 8 bytes.
P.s.Bigint has a length. The length in the MySQL table is only used to display the digits.
Int
Integer Data from-2 ^
I asked Baidu for help. I checked for 1045 Errors for half a day. I checked it online and said it was a password or user permission problem. However, I have been thinking that I am using a root user. There should be no permission issues. Another
Group_concat function in MySQL
The complete syntax is as follows:
Group_concat ([distinct] field to be connected [order by ASC/DESC sorting field] [separator 'delimiter'])
Basic Querymysql> select * from aa; +------+------+ | id| name | +------+----
(To http://blog.donews.com/yllr/archive/2007/01/03/1107388.aspx)
MySQL and later versions support multi-character sets, but the default Character Set installed is Latin1 in Swedish, so many people want to install discuz and other forums that use GBK,
Notes for operating MySQL Databases in PHP1. semicolon exceptionsFor MySQL, the first thing you must remember is that every line of its command is ended with a semicolon (;), ...... There is no such thing as absolute. The same is true here. When a
MySQL supports the limit keyword, which allows MySQL to return only a specified record, for example:
Select * From usermsgbox limit 3
This SQL statement allows MySQL to return the first three records in the usermsgbox table, as well:
Select *
MySQL Server Optimization
Recently, I helped people maintain a DZ forum and summarized the following tuning skills to make MySQL servers run fast.
There are three ways to speed up the running of the MySQL server:
1. Replace the faulty hardware.2.
Today, you need to configure trixbox web services to access databases on another machine. You must use the permissions granted to mysql users. Something you did not want to learnI had to use it. By the way, copy the content in the White Paper for
Mysql> delimiter //Mysql> Create Function testfunction (id int) returns int-> Begin-> Declare TT int;-> Set TT = 0;-> Select sum (total) into TT from selectinto1 B where B. ID = ID;-> Update selectinto2 a set a. summ = TT where a. ID = ID;-> Return 1
Some customers reported that the boss system could not query the order record after January 1, June 28. After the database was queried, the query for the original statement table occasionally appeared.Table '****' is marked as crashed and shoshould
Suddenly, I was a little interested in. net connection to the MySQL database, so I went to the Internet to find information, learn how to install MySQL, and how to use MySQL. I finally got it done!
The final result is to display the data of the data
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.