- 博客(2)
- 收藏
- 关注
原创 nodejs连接mysql数据库,报错Client does not support authentication protocol requested by server的解决方法
解决办法,进入mysql,输入 ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '自己的密码'; 原因8.0mysql引入了caching_sha2_password模块作为默认身份验证插件,nodejs还没有跟进 ...
2019-09-24 15:34:52 630
原创 根据浏览器标签页是否为选中状态来改变标签页的title
(function() { var OriginTitile = document.title, titleTime; document.addEventListener('visibilitychange', function() { if (document.hidden) { document.title = '你快回来'; ...
2018-12-18 15:53:02 393
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人