Modify the default connections of mysql5.0.xx in Linux
Source: Internet
Author: User
Modify the default connections of mysql5.0.xx in Linux-Linux Enterprise Application-Linux server application information. For more information, see the following section. During this time, the server crashed twice and no reason was found. I saw an error message email sent from the Forum today, remembering the problem that may be caused by the default connections of mysql, the default number of connections is only 100. How can this problem be solved? I found some information on the Internet for half a day and said I should modify my. for cnf, it is said to modify safe_mysqld and try it. The former is useless, and the latter file cannot be found. The original version is different from the current version.
Let's get down to the truth. Take mysql 5.0.33 in centos 4.4 as an example:
Vi/usr/local/mysql/bin/mysqld_safe
Find safe_mysqld and edit it. Find the two lines started by mysqld and add the following parameters:
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