1.修改用户test的密码 [root@localhost bin]# ./pure-pw passwd test #修改密码 Password: Enter it again: [root@localhost bin]# ./pure-pw mkdb #生成数据库文件 [root@localhost bin]# ./pure-pw show test #查看用户信息 Login : test Password : $$QLTs2O0C3ujD/Ud0$MmV.N7P7MiIA8alOx3hPU
在安装CloudStack时,通过mysql_secure_installation方式修改密码 01 [root@test ~]# /usr/bin/mysql_secure_installation 02 NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MySQL 03 SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY! 04 05 In order
关闭使用条款确认: 在/portal-master/portal-impl/src/portal.properties配置文件中,有如下配置: # # Set this to true if all users are required to agree to the terms of use. # terms.of.use.required=true 修改为: # # Set this to true if all users are required to agree to the term
修改密码: //选择数据库 use mysql; //修改密码 update user set password=password('新密码') where user='root'; //立即生效 flush privileges 忘记管理员密码: 在my.ini的[mysqld]字段下面加入: skip-grant-tables 重启mysql服务,这时的mysql不需要密码即可登录数据库然后进入mysql use mysql;update user set password=password