mysql8创建用户并授权

mysql8创建用户并授权

创建用户CREATE USER 'zhangsan'@'%' IDENTIFIED BY zhangsan123';授权所有用户GRANT ALL PRIVILEGES ON *.* TO 'zhangsan'@'%' WITH GRANT OPTION;连接报错解决方法ALTER USER 'zhangsan'@'%' IDENTIFIED WITH mysql_native_password BY 'zhangsan111';参考:https://blog.csdn.net/qq_22860341/article/details/85061819

Linux,数据库 2021-01-21 AM 174℃ 0条
centos7安装nginx

centos7安装nginx

https://www.jianshu.com/p/97cdbeebef96

Linux 2021-01-05 PM 201℃ 0条
centos7安装mysql8.0

centos7安装mysql8.0

https://www.cnblogs.com/zipxzf/p/10718544.html

Linux,数据库 2021-01-05 PM 202℃ 0条
在线工具推荐

在线工具推荐

表格转Markdown在线工具https://tool.lu/tablesFofa-网络空间安全搜索引擎https://fofa.soProcessOn-在线思维导图工具https://www.processon.com墨刀-在线原型设计https://modao.cc冷熊简历-在线MarkDown简历设计http://cv.ftqq.com秦羽贴吧云签到-云端自动贴吧签到https://qiandao.qinyushop.com字体识别网站https://www.likefont.com在线ER模型设计https://www.freedgo.com潮汐-稳定的VPN节点 签到可免费得流...

Markdown,工具 2020-12-18 PM 547℃ 0条
vue拦截器里多个错误提示只显示第一个

vue拦截器里多个错误提示只显示第一个

普通版可以实现在1秒内的多个错误提示只显示第一个function debounce(fn, wait) { let timerId = null let flag = true return function () { clearTimeout(timerId) if (flag) { fn.apply(this, arguments) flag = false } timerId = setTimeout(() => { flag = true }, wait) } } const au...

Vue 2020-12-17 AM 229℃ 0条
Python在windows下搭建MQTT服务器并实现通信

Python在windows下搭建MQTT服务器并实现通信

注意MQTT协议中有三种身份:发布者(Publish)、代理(Broker)(服务器)、订阅者(Subscribe)。首先必须要需要搭建MQTT服务器,才能进行后续发布和订阅代码操作。搭建MQTT服务器ActiveMQ 5 下载地址:http://activemq.apache.org/index.html下载后进入apache-activemq-5.16.0-bin\apache-activemq-5.16.0\bin\win64,在cmd里运行activemq.bat即可启动MQTT服务器。进入http://127.0.0.1:8161/admin/ 账号密码均为admin,若能成功...

Python 2020-11-09 PM 425℃ 0条
uWSGI process 7388 got Segmentation Fault

uWSGI process 7388 got Segmentation Fault

今天在做导入excel时服务器报502错误,看uwsgi日志显示uWSGI process 7388 got Segmentation Fault,错误详情如下:!!! uWSGI process 7388 got Segmentation Fault !!! *** backtrace of 7388 *** /usr/local/python3/bin/uwsgi(uwsgi_backtrace+0x2e) [0x48e81e] /usr/local/python3/bin/uwsgi(uwsgi_segfault+0x21) [0x48ebb1] /lib64/libc.so.6(...

django,Python,Linux,bug记录,部署 2020-10-15 PM 671℃ 0条
Python中url编码把空格编码成%20的解决方法

Python中url编码把空格编码成%20的解决方法

示例代码from urllib import parse s="2020-09-28 17:47:32.811" print(s) print(parse.quote(s,safe='')) print(parse.quote_plus(s,safe=''))结果2020-09-28 17:47:32.811 2020-09-28%2017%3A47%3A32.811 2020-09-28+17%3A47%3A32.811结论原因是HTML4和RFC-3986规范的区别Python中使用parse.quote会将空格编码成%20Python中使用parse.quot...

Python,bug记录 2020-09-28 PM 372℃ 0条