![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
MySQL
Joyer_99
这个作者很懒,什么都没留下…
展开
-
【MySQL】日期、时间相关
参考:MySQL:日期函数、时间函数总结now()获得当前日期+时间(date + time)select now();+---------------------+| now() |+---------------------+| 2019-10-29 17:02:59 |+---------------------+1 row in set (0....原创 2019-10-29 17:24:37 · 78 阅读 · 0 评论 -
【MySQL】MySQL8忘记密码强制修改(MAC)
1、打开Terminal,使用以下命令,从而使得可以无密码登陆MySQL。mysqld -skip-grant-tables;2、再打开一个Terminal,使用以下命令,无密码登陆MySQL。mysql -u root3、使用以下命令,清空旧密码。mysql> use mysql;mysql> update user set authentication_string...原创 2019-10-29 17:00:10 · 592 阅读 · 0 评论