
MySQL
Chris-Lin
echo -e '#define cat(c,d) c##.d \n #define mb(a,b) a##@b \n mb(shell2010,cat(gmail,com))' \
| gcc -E -xc - 2>/dev/null |tail -n 1
展开
-
MySQL5.7 版本重置 root 密码
1、修改配置文件:# vim /etc/my.cnf[mysqld] datadir=/var/lib/mysql socket=/var/lib/mysql/mysql.sock skip-grant-tables添加了最后一行:skip-grant-tables,保存以后,启动服务:# systemctl start mysqld.service原创 2016-08-30 23:24:02 · 533 阅读 · 0 评论 -
MySQL5.7 错误:ERROR 1820 (HY000): You must reset your password using ALTER USER statement before ...
mysql> alter user 'root'@'localhost' identified by '111111';输入以上语句,会提示:ERROR 1819 (HY000): Your password does not satisfy the current policy requirement.MySQL5.7 加强了安全保障,以上意思是密码不符合安全策略要原创 2016-08-31 00:01:49 · 20476 阅读 · 0 评论