mysql
hnd978142833
这个作者很懒,什么都没留下…
展开
-
your password has expired.To log in you must change itusing a client that supports expired passwords
1、敲mysql -uroot -p 进入mysql中2、输入你的密码 我的是root,成功后就是下面这样:3、这个时候就可以开始修改你的密码了:4、设置我们这次的密码永远不过期,记得要设置省得天天磨磨唧唧的:alter user 'root'@'localhost'password expire never5、再保存刷新一下吧6、滚去Navicat测试一下咯...原创 2020-07-14 08:55:36 · 316 阅读 · 1 评论 -
linux启动mysql显示失败,没有其他提示信息
原因是没用超级用户启动,普通用户没有启动mysql的权限,将用户注销切换到root用户,重新输入命令就可以了原创 2018-05-30 10:46:37 · 3224 阅读 · 0 评论 -
workbench数据库批量更新失败 解决
11:10:40 update tablename set field where XXX is null Error Code: 1175. You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column To disable safe mode...转载 2018-12-12 11:25:51 · 1619 阅读 · 0 评论 -
解决 --- client does not support authentication
切换到mysql数据库(命令行执行mysql -u root -p//mysql: command not found原因: 由于系统默认会查找/usr/bin下的命令,如果这个命令不在这个目录下,就找不到命令,我们需要做的就是映射一个链接到/usr/bin目录下,相当于建立一个链接文件, 如下命令。sudo ln -s /usr/local/mysql/bin/my...转载 2019-04-28 19:22:23 · 1185 阅读 · 0 评论 -
Error Code: 1067. Invalid default value for 'sfs_time'
set sql_mode="ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION";原创 2019-06-19 19:10:21 · 562 阅读 · 0 评论