自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(6)
  • 收藏
  • 关注

原创 xx.xx.xx.xx(ip)is not allowed to connect to this mysql server

问题1.mysql -u root -p 登录到mysql中,输入密码2.use mysql;3.select host from user where user='root';4.修改帐号不允许从远程登陆,只能在localhost。这个时候只要在localhost的那台电脑,登入mysql后,更改 "mysql" 数据库里的 "user" 表里的 "host" 项,从"localhost"改称"%"update user set host = '%' where u..

2021-01-23 16:08:13 137 4

原创 关于Linux mysql密码的问题

解决mysql不需要密码就可以登陆问题1.use mysql;2.update user set authentication_string=password("你的密码") where user='root'; #(无password字段的版本,也就是版本3.update user set password=password('你的密码') where user='root'; #(有password字段的版本,版本>5.7的)4.update user set plugin="my

2021-01-23 16:01:58 101

原创 关于Linux   mysql密码的问题

解决mysql不需要密码就可以登陆问题1.use mysql;2.update user set authentication_string=password("你的密码") where user='root'; #(无password字段的版本,也就是版本<=5.7的)3.update user set password=password('你的密码') where user='root'; #(有password字段的版本,版本>5.7的)4.update user set

2021-01-22 10:20:51 120

原创 JS中MQTT协议使用

<script> var hostname = '39.104.148.164', //'192.168.1.2', port = 8083, clientId = 'ewwl', timeout = 5, keepAlive = 100, cleanSession = false, ssl = false, userName = 'ewwl...

2021-01-16 15:05:18 1601

原创 比较全的正则表达式

一、校验数字的表达式1 数字:^[0-9]*$2 n位的数字:^\d{n}$3 至少n位的数字:^\d{n,}$4 m-n位的数字:^\d{m,n}$5 零和非零开头的数字:^(0|[1-9][0-9]*)$6 非零开头的最多带两位小数的数字:^([1-9][0-9]*)+(.[0-9]{1,2})?$7 带1-2位小数的正数或负数:^(\-)?\d+(\.\d{1,2})?$8 正数、负数、和小数:^(\-|\+)?\d+(\.\d+)?$

2021-01-16 15:02:13 221

原创 PHP的laravel框架实现uni-app个推(Uni Push)

首先用composer 安装composer require shaozeming/laravel-getui -v然后在config\app.php的providers在config\app.php的aliases用php加载一下php artisan vendor:publish --provider=ShaoZeMing\\GeTui\\GeTuiServiceProvider想直接引用个推在bootstrap/app.php中加入$app->r.

2021-01-15 11:35:15 2076

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除