Home >Database >Mysql Tutorial >centos启用mysql_MySQL

centos启用mysql_MySQL

WBOY
WBOYOriginal
2016-06-01 13:43:311044browse

CentOS

bitsCN.com

我的centos在安装时就把mysqld装上了,启用到方法很简单:

在service中打开mysqld

在终端中设置root密码:

[html]
$ mysqladmin -u root -p password ****** 


如果没有安装mysql,则安装:

[html]
$ yum install mysql mysql-server 
$ /etc/init.d/mysqld start 



摘自bhq在CSDN的窝

bitsCN.com
Statement:
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