MySql
随风凌乱的飘过
这个作者很懒,什么都没留下…
展开
-
Centos 7 安装数据库
yum方式查看yum是否安装过mysqlyum list installed mysql*如或显示了列表,说明系统中有MySQL yum安装,先要搞到源wget http://repo.mysql.com/mysql57-community-release-el7-9.noarch.rpm sudo rpm -ivh mysql57-community-release-el7-9.noarch.r...原创 2018-06-04 16:13:40 · 335 阅读 · 0 评论 -
Mysql mysql error You must reset your password using ALTER USER statement before executing this 问题
安装完mysql 之后,登陆以后,不管运行任何命令,总是提示这个 mysql error You must reset your password using ALTER USER statement before executing this step 1: SET PASSWORD = PASSWORD('your new password');step 2: ALTER USER 'root...转载 2018-06-04 16:21:06 · 283 阅读 · 0 评论 -
mysql的用户管理
1、创建新用户 通过root用户登录之后创建 >> grant all privileges on *.* to testuser@localhost identified by "123456" ; // 创建新用户,用户名为testuser,密码为123456 ; >> grant all privileges on *.* to testuser@loca...转载 2018-06-04 16:22:22 · 156 阅读 · 0 评论