This article is a mirror article of machine translation, please click here to jump to the original article.

View: 13502|Reply: 2

[Mutual Assistance] Use Alibaba Cloud Host The database often hangs up!

[Copy link]
Posted on 1/31/2016 10:06:37 AM | | |

Alibaba Cloud killed the 32-bit centos some time ago, and many people switched to 64-bit systems.
The memory footprint of 64-bit systems is slightly higher. Some websites that use MySQL 5.5 databases often have the error that the database cannot be linked due to high memory usage.

Provide a workaround:


5,5 The default storage engine is innodb, which occupies more than 300 virtual memory when it moves together, and the storage engine we generally use is MyISAM.
Solution: Modify the /www/wdlinux/etc/my.cnf file.
Add it in [mysqld]


Finally, restart mysql




Previous:Tell you about those big pitfalls in WordPress
Next:Solved the issue of "mysql-bin.000001" taking up a large amount of space
 Landlord| Posted on 8/17/2017 5:06:20 PM |
AMH2.01 has InnoDB turned off by default.
-------------------------------------
For AMH2.0 version:
MySQL 5.5 enables the InnoDB engine by default.
If you don't use some advanced parts of the InnoDB transaction, you can close it. It is also enough to use MyISAM.
Small memory machines can save some memory.

Execution of the mandate now:
sed -i "/\[mysqld\]/a default-storage-engine = MyISAM\ninnodb=OFF\nskip-innodb " /etc/my.cnf && amh mysql stop && amh mysql start;
Posted on 8/17/2017 9:13:29 PM |
Xiao Zhazha Posted on 2017-8-17 17:06
AMH2.01 has InnoDB turned off by default.
-------------------------------------
For AMH2.0 version:

Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com