centos安装 mysql workbench_CentOS下安装MYSQL Workbench图文教程

第一步:安装mysql

在按照workbench之前,先安装mysql。指令是yum install mysql mysql-server mysql-libs mysql-server

关于mysql各个包的功能是:

“mysql for the client tools, mysql-server for the server and associated tools, and mysql-libs for the libraries. The libraries are required if you want to provide connectivity from different languages and environments such as Perl, Python and others.”

用yum指令安装的好处是比较方便,坏处是一般yum指令安装的版本都比最新版稍微落后些……

terminal提示complete以后,就说明安装完了。mysql的配置文件被安装到/etc/my.cnf,mysql server的启动脚本被安装到/etc/init.d/mysqld

官方说明:

“A sample configuration file is installed into /etc/my.cnf. An init script, to start and stop the server, will have been installed into /etc/init.d/mysqld. ”

启动MySQL server的命令是:

root-shell> service mysqld start

如果想在centOS开机时自动启动MySQL server,那么可以使用指令

root-shell> chkconfig --levels 235 mysqld on

mysql和 mysq lserver装好以后就可以装workbench了。

第二步:下载workbench安装文件:

7089164d161c68d98f334157b38bf3df.png

第三步:下载好了以后,点击安装

9b172ca4bfb2135f91fab3ac0e282836.png

双击下载的文件,即可安装

61edbf6490f0f01bd1104c585edf2a16.png

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值