VZ for AS4如何安裝MySQL5

文章介紹瞭如何在VPS for AS4 上安裝MySQL5的2種方法

一、正常安裝
1、新開VPSd的服務
2、調整VPS資源
3、再安裝MySQL5

二、遇到錯誤
1、新開VPS的服務
2、安裝MySQL5
 rpm -ivh MySQL-server-community-5.0.41-0.rhel4.i386.rpm
2、安裝MySQL5--失敗
提示:Starting MySQL./etc/init.d/mysql: line 159: kill: (30377) - No such process
 ERROR!
3、查看VPS資源情況
資源耗盡提示:privvmpages:The size of private (or potentially private) memory allocated by an application. The memory that is always shared among different applications is not included in this resource parameter
4、調整VPS資源privvmpages
5、卸載MySQL5
rpm -e MySQL-server-community
6、刪除var/lib/MySQL--刪除應用實例
1)cd /var/lib
2)rm -rdf mysql/
6、重新啓動
reboot
7、安裝MySQL5--成功
Starting MySQL. SUCCESS!

squirrelme發表在自己blog上的文章 轉載請註明 地址:http://blog.csdn.net/squirrelme/archive/2007/06/04/1638052.aspx

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章