1.修改密码 修改密码: vim /etc/my.cnf 的mysqld字段加入skip-grant-tables 重启MySQL,service mysqld restart 终端输入 mysql 直接登录MySQL数据库,然后use mysql update mysql.user set authentication_string=password('123@wanyun') where user='root';update mysql.user set password_expired='…
mysql5.7执行sql语句报错:In aggregated query without GROUP BY, expression #1 of SELECT list contains nonaggregated column 'yunva_changke.u.user_id'; this is incompatible with sql_mode=only_full_group_by 1.方法1,需要重启mysql服务 编辑/etc/my.cnf文件,加入如下参数,重启mysql sql_m…
Jenkins自动安装JDK需要提供Oracle的账号密码,否则报错:Unable ro auto-install JDK until the license is accepted 解决方法: 提供Oracle账号密码 可以自己申请一个: U:541509124@qq.com P:LR4ever.1314 账号来源地址:https://blog.csdn.net/u012789986/article/details/72515324…
背景: 新建了用户,没有取消掉强制密码策略 修改掉策略报错 错误: The CHECK_POLICY and CHECK_EXPIRATION options cannot be turned OFF when MUST_CHANGE is ON. 使用代码修改: USE Master GO ALTER LOGIN [somelogin] WITH PASSWORD = ‘samepassword’ GO ALTER LOGIN [somelogin] WITH C…
今天接到主从复制失败告警,查看MySQL,发现MySQL能够登陆但是执行命令报错, ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executing this statement. 因为是用户密码过期了 解决办法: 登陆MySQL命令行,执行 set password=password("password"); flush privileges; #设置用户密码永不过…
今天有两台服务器都出现了Can't create a new thread报错. [故障处理过程] 故障发生后登录服务器,检查mysql进程正常,但登录mysql报下面错误 ERROR 1135 (HY000): Can't create a new thread (errno 11); if you are not out of available memory, you can consult the manual for a possible OS-dependent bug. 重启mys…