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服务是否正在运行。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值