yourtion / gyx.js.org Goto Github PK
View Code? Open in Web Editor NEW开发记录日志
Home Page: https://gyx.js.org
开发记录日志
Home Page: https://gyx.js.org
在MySQL中只更新数据为NULL的字段:
IFNULL(`upload_time`,NOW())
例子:
UPDATE demo SET upload_time =IFNULL(`upload_time`,NOW()), username = 'Yourtion' WHERE (id = 1);
安装MySQL8 后,部分客户端会遇到报错:
error 2059: Authentication plugin 'caching_sha2_password' cannot be loaded: caching_sha2_password.so: cannot open shared object file: No such file
处理方法:
1、更新 my.cnf
文件后重启MySQL
[mysqld]
default_authentication_plugin=mysql_native_password
2、 兼容新老版本的认证方式
#修改加密规则
ALTER USER 'root'@'localhost' IDENTIFIED BY 'root' PASSWORD EXPIRE NEVER;
#更新一下用户的密码
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password';
#刷新权限
FLUSH PRIVILEGES;
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.