centos mysql installation configuration

PHP中文网
Release: 2017-07-09 18:16:16
Original
1576 people have browsed it

 

[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)

 

The above is the detailed content of centos mysql installation configuration. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template