mysql安装

1、安装mysql:yum install mysql

2、 修改密码:mysqladmin password 123456

3、远程登录权限:mysql -u root -p 后执行

grant all privileges on *.* to 'root'@'%' identified by '123456';


你可能感兴趣的:(mysql)