centos7安装mysql5.5.24找不到初始密码?
2020-07-21 04:12
1596 查看
centos7安装mysql时没有初始密码。
可以直接输入 mysql -uroot -p 进入
[root@bgdata01 mysql-libs]# mysql -uroot -p Enter password: Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 1 Server version: 5.6.24 MySQL Community Server (GPL) Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql>
通过
mysql> set password=password('123456'); Query OK, 0 rows affected (0.00 sec)
修改命令即可
相关文章推荐
- 关于centos7安装mysql5.7过程与修改初始密码
- 初次安装Mysql5.7以上版本后初始root密码找不到的问题
- mysql 5.7+版本的安装 找不到初始密码
- 初次安装Mysql5.7以上版本后初始root密码找不到的问题
- mysql-mac下载安装及修改初始密码
- mysql mac 安装修改初始密码
- centos7安装最新版git及免密码登录配置
- MySQL数据库免安装root初始密码
- Linux下安装MYSQL (三、设置初始密码 )
- 关于Mac安装MySQL和MySQLWorkbench的初始密码,环境配置问题总结
- CentOS 7.3 安装MySQL 5.7并修改初始密码
- mac 安装卸载mysql——设置初始密码
- Linux 下 MySQL8.0 安装踩坑以及配置文件、修改初始密码
- 关于新版MySQL5.7数据库安装后使用自生成初始密码登录的问题(MAC版)
- Centos7安装完,找不到网卡配置
- Linux操作系统上安装MYSQL数据库的方法 (附加修改初始密码)
- Hadoop系列之(一)CentOS7安装配置及SSH无密码验证配置
- mysql设置初始密码和更改密码(ZIP文件解压安装)
- Mac安装MySQL初始密码设置
- mysql 新安装root 密码初始