First, compile the previous condition
Verify that the following software has been installed, some may not be necessary, but the recommendations are still loaded.
Apt-get Install autoconf automake autotools-dev cpp Curl gawk gcc lftp libc6-dev
In the ASP era, if we want to build a database-driven Web site, then you can choose to ring a lot of money in the Microsoft SQL Server database or choose to spend a lot of time to find the performance and stability of the unified Access database,
Infinite class Classification 、、、 but efficiency is not the best ... Do you have code for faster and better efficiency?
When you use recursion to wait for more categories, it can affect efficiency!
Please share!
Class.sql
----
The structure '
Gb2312,gbk,utf8, such as the support of multibyte-encoded character sets can store Chinese characters, gb2312 in the number of Chinese characters is far less than GBK, and GB2312,GBK can be encoded in the UTF8.
Two. Show variables like ' character\_
Core tip: MySQL provides database replication functionality after version 3.23.15. The function of two database synchronization, master-slave mode and mutual backup mode can be realized by using this feature.
The settings for database
See an article on the Javaeye for MySQL FUD (fear, uncertainty and doubt)
Use MySQL InnoDB Benchmark performance test to illustrate
http://www.javaeye.com/topic/34676
The article said: "InnoDB disk performance is very worrying, MySQL lack of good
Starting a remote service with the root user has been a security taboo because remote attackers are most likely to gain full control of the host if there is a problem with the service program. MySQL made a small change at the start of version 3.23.15
When you first install and run MySQL, you may encounter some errors so that the MySQL server does not start. The purpose of this section is to help you diagnose and correct these errors.
Your first information when troubleshooting server problems
Case problems when you perform a lookup command
By default, MySQL does not differentiate between uppercase and lowercase when performing a lookup. When you use like ' a% ' on a lookup, the default returns all column values starting with a or a, and
Utility to dump a database or many databases for backup or to transfer data to another SQL Server. Dumping will include SQL statements that create tables or enrich tables.
shell> mysqldump [OPTIONS] database [tables]
If you do not give any tables,
We want to discuss the database performance optimization on the other hand, that is, the use of database server built-in tools to analyze and optimize.
▲show
Perform the following command to understand the running state of the server:
MySQL >show
It is said that this is the master optimized MySQL for your reference, where the number of connections: max_connections=1500 can be based on server performance changes.
#set-variable=connect_timeout=5 #set-variable=wait_timeout=5
Recommended
This document is intended to describe how to install a MySQL cluster configured with 2 servers. and the implementation of any one server problems or downtime MySQL can still continue to run.
First, introduce
========
This document is intended to
This article will introduce some important parameters of JDBC URL in MySQL, here will also introduce some concrete examples, I hope you can get some help through this article.
MySQL JDBC Driver
There are two commonly used, one is the MySQL driver
First, view and start the MySQL service. After installing MySQL under Windows XP, it has started the service automatically and has a shortcut connection to its client in the Start menu, as shown in Figure 4.1.
Figure 4.1
Can be viewed through
When the data volume of the database is frequently read and written, we should consider separating the reading and writing of the database to improve the efficiency of the database, (of course, there are other uses such as backup data), this time we
Today's corporate database has stalled and blocked problems, check the database when found, show processlist; you can see a lot of:
.... : 3436942 : unauthenticated user : 192.168.0.4:49607 : : Connect : : login : : 3436943 : unauthenticated user
1, according to the general installation.
[root@ff_girl mysql5122]# chown -R root . [root@ff_girl mysql5122]# chown -R mysql data [root@ff_girl mysql5122]# chgrp -R mysql . [root@ff_girl mysql5122]# cp support-files/my-small.cnf /etc/my5122.cnf
Today encountered a similar scenario, MySQL is just coldly said: MySQL server has gone away.
I have probably browsed for a few reasons, mainly because of the following:
One possibility is that the SQL statement sent is too long to exceed the size
The start service failed because the computer was not erased. Specific 1. Uninstall 2. Computer "search" all MySQL files note that hidden files can also be searched for all deletions. 3. Clear the registry for MySQL and subkeys. 4. Firewall problems
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