centOS装mysql

yum install -y mysql-server mysql mysql-deve
service
mysqld start
chkconfig mysqld on
mysqladmin -u root password ''


然后就能用 mysql -u root登录了。

接下来要创号给远程用!

GRANT ALL ON *.* TO'myuser'@'%'IDENTIFIED BY 'mypassword';
flush privileges; 

相关文章

Centos下搭建性能监控Spotlight
CentOS 6.3下Strongswan搭建IPSec VPN
在CentOS6.5上安装Skype与QQ
阿里云基于centos6.5主机VPN配置
CentOS 6.3下配置multipah
CentOS安装、配置APR和tomcat-native