mysql8有新的安全要求,不能像之前的版本那样一次性创建用户并授权需要先创建用户,再进行授权操作
1.创建用户:
create user 'username'@'host' identified by 'password';
# 其中username为自定义的用户名;host为登录域名,host为'%'时表示为任意IP,为localhost时表示本机,或者填写指定的IP地址;paasword为密码
2.用户授权:
grant all privileges on …
mysql8有新的安全要求,不能像之前的版本那样一次性创建用户并授权需要先创建用户,再进行授权操作
1.创建用户:
create user 'username'@'host' identified by 'password';
# 其中username为自定义的用户名;host为登录域名,host为'%'时表示为任意IP,为localhost时表示本机,或者填写指定的IP地址;paasword为密码
2.用户授权:
grant all privileges on …
server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
解决方案:
export GIT_SSL_NO_VERIFY=1 …
pip3 install opencv-python
pip3 install aircv
# -*- coding: utf-8 -*-
import aircv as ac …