摘要: 原因:登录数据库的客户端跟mysql8.0不兼容了,mysql8.0密码认证采用了新的密码格式 解决办法: 在系统mysql终端输入下面命令 //password 是你的数据库账户密码,root和host也是 ALTER USER 'root'@'localhost' IDENTIFIED WITH 阅读全文
posted @ 2021-01-24 21:27 松歌 阅读(146) 评论(0) 推荐(0) 编辑
摘要: use myblog; -- show tables; -- insert into users(username,`password`,realname) values('lisi', '123', '李四'); -- select * from users; -- select id,usern 阅读全文
posted @ 2021-01-24 20:44 松歌 阅读(62) 评论(0) 推荐(0) 编辑
摘要: git rm -r --cached . git add . git commit -m '更新 .gitignore' 阅读全文
posted @ 2019-12-18 12:44 松歌 阅读(1423) 评论(0) 推荐(0) 编辑
摘要: 1.配置babel 2.配置react 3.配置css-loader 4.配置less-loader 5.配置file-loader url-loader 6.热更新 webpack-dev-server 7.提取css出来 mini-css-extract-plugin 跟css相关的都要加上 M 阅读全文
posted @ 2019-12-06 21:03 松歌 阅读(158) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title></head><body><input type="file" id="inp"><img id="img"><script> docum 阅读全文
posted @ 2019-09-05 09:23 松歌 阅读(2531) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2019-05-29 16:47 松歌 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 1,首先在码云上新建一个项目,如下图所示 2,本地新建一个文件夹 3,进入新建的文件夹,点击鼠标右键,选择git bash here 然后在窗口输入 git init 这时候文件夹会多出一个.git文件夹,看不到文件夹的,点击鼠标右键选择“显示不显示隐藏的文件”就可以看到这个文件夹了 4,进入刚刚在 阅读全文
posted @ 2019-01-10 09:44 松歌 阅读(93) 评论(0) 推荐(0) 编辑
摘要: wxml js 要引入的外部js 阅读全文
posted @ 2018-10-11 11:32 松歌 阅读(198) 评论(0) 推荐(0) 编辑
摘要: 1.安装 2.cd到指定的文件目录 3.创建项目名称 4.根据提示就可以运行项目了 阅读全文
posted @ 2018-09-03 22:03 松歌 阅读(67) 评论(0) 推荐(0) 编辑
摘要: { // VScode主题配置 "editor.tabSize": 2, "editor.lineHeight": 24, "editor.renderLineHighlight": "none", "editor.renderWhitespace": "none", "editor.fontFamily": "Consolas", "editor... 阅读全文
posted @ 2018-07-23 14:05 松歌 阅读(230) 评论(0) 推荐(0) 编辑