suse 11.0安装mysql

安装

 

去mysql.com下载,苦于找不到适合版本的mysql,费了不少功夫。

 

后来,在Yast里,直接输入“mysql”,找到mysql的安装包,轻松安装!

 

原来,suse11.0已经替我们都考虑好啦。

 

启动

 

suse的mysql启动好像有点不同,下面的文字来自官方网站:

 

service mysql start

is a RedHatism. The correct way that will work on nearly all Linux servers is:

/etc/init.d/mysql start

Subsitute the desired service for mysql for other services. You should engrave this on the back of your hand if you do server admin frequently. But there is a SUSEism:

rcmysql start

But be sure to enable the service to start at boot using YaST, otherwise you will have to start the service manually every boot. From the CLI, it can be done by:

chkconfig --set mysql on

 

参考资料:http://forums.opensuse.org/archives/sf-archives/archives-software/338807-install-configure-mysql.html

 

设好后,重启电脑,然后运行“service --status-all | grep MySQL”,验证mysql服务是否正在运行。

你可能感兴趣的:(html,linux,mysql,SuSE)