首页 > 运维 > linux运维 > centos mysql安装配置

centos mysql安装配置

PHP中文网
发布: 2017-07-09 18:16:16
原创
1646 人浏览过

 

[root@localhost ~]#  yum install -y mysql-server mysql mysql-devel

[root@localhost ~]# service mysqld start

 

mysql> grant all privileges on *.* to 'root'@'192.168.0.100' identified by 'password' with grant option;
Query OK, 0 rows affected (0.00 sec)

mysql> flush privileges;
Query OK, 0 rows affected (0.00 sec)

 

以上是centos mysql安装配置的详细内容。更多信息请关注PHP中文网其他相关文章!

相关标签:
本站声明
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn
作者最新文章
最新问题
centos下mysql启动报错
来自于 1970-01-01 08:00:00
0
0
0
centos7 - git的linux版本没有centos的?
来自于 1970-01-01 08:00:00
0
0
0
centos7 - centos 7,添加nginx为开机启动?
来自于 1970-01-01 08:00:00
0
0
0
为什么不是存放代码在linux的centos中
来自于 1970-01-01 08:00:00
0
0
0
热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板