mysql
PHP渣渣
这个作者很懒,什么都没留下…
展开
-
易优cms mysql8.0 [42000]1231 Variable ‘sql_mode‘can‘t be set to the value of ‘NO_AUTO_CREATE_USER‘
易优cms mysql8.0 [42000]1231 Variable 'sql_mode'can't be set to the value of 'NO_AUTO_CREATE_USER'原创 2022-07-06 10:15:09 · 2001 阅读 · 0 评论 -
laravel SQLSTATE[HY000] [2002] No such file or directory
laravel SQLSTATE[HY000] [2002] No such file or directory原创 2022-03-04 16:40:27 · 1151 阅读 · 0 评论 -
Docker配置PHP环境 + Nginx + Mysql
# 拉取相关镜像docker pull nginxdocker pull php:7.4-fpmdocker pull mysql:5.6# 运行镜像并挂载相关文件docker run -d -p 3310:3306 --name mysql1 -v /Users/aiyaowei/docker/docker1/mysql/conf:/etc/mysql/conf.d -v /Users/aiyaowei/docker/docker1/mysql/data:/var/lib/mysql -e.原创 2022-02-10 16:26:28 · 2807 阅读 · 1 评论 -
mysql8.0后执行授权远程访问
执行:grant all privileges on *.* to 'admin'@'%' with grant option;报错:ERROR 1410 (42000): You are not allowed to create a user with GRANT解决方法:update user set host='%' where user='admin';在执行:Gr...原创 2020-01-13 11:22:16 · 336 阅读 · 0 评论