26
2023
04
26
2023
04
26
2023
04
The MySQL server is running with the --skip-grant-tables option so it cannot execute this statement
26
2023
04
CentOS 配置mysql 踩到的坑
遇到错误一定要看日志 !看日志! 看日志!
每个人在配置的时候,碰到的问题五花八门,即使是编程老鸟也不一定能直接定位到哪里出错了,这时候一定要去看日志,日志文件地址在配置文件、etc/my.cnf 自己定义的,我的地址是 /usr/local/mysql/sql_log/ 找到其中的error,针对性的去解决!
日志记录如下
默认情况下,使用跳过符号链接(或等效的)来禁用符号链接。 考虑不要使用这个选项,因为它已被弃用,并将在未来的版本中被删除。
26
2023
04
解决mysql: [Warning] World-writable config file ‘/etc/mysql/mysql.conf.d/mysqld.cnf ‘ is ignored.问题
问题描述:
将/etc/mysql/mysql.conf.d/mysqld.cnf这个文件修改权限sudo chmod 777 mysqld.cnf,且重启数据库后,再次执行mysql -u root -p时,出现此警告。
#问题描述:
queena@queena-Lenovo:/etc/mysql/mysql.conf.d$ sudo chmod 777 mysqld.cnf
queena@queena-Lenovo:/etc/mysql/mysql.conf.d$ vim mysqld.cnf
26
2023
04
26
2023
04
mysql配置my.cnf中!include和!includedir的作用
先看官网截图:
------------------------------------------------------------------------------------------
26
2023
04
26
2023
04
25
2023
04
25
2023
04
error 2059: Authentication plugin ‘caching_sha2_password‘ cannot be loaded: /usr/lib64/mysql/plugin/
报错内容
error 2059: Authentication plugin 'caching_sha2_password' cannot be loaded: /usr/lib64/mysql/plugin/caching_sha2_password.so: cannot open shared object file: No such file or directory
25
2023
04
MySql错误 1251 - Client does not support authentication protocol requested by server 解决方案
一、问题描述
使用Navicat客户端连接本地mysql,报错:1251- Client does not support authentication protocol requested by server;consider upgrading Mysql client。
25
2023
04
25
2023
04
解决mysql: [Warning] World-writable config file ‘/etc/mysql/mysql.conf.d/mysqld.cnf ‘ is ignored.问题
问题描述:
将/etc/mysql/mysql.conf.d/mysqld.cnf这个文件修改权限sudo chmod 777 mysqld.cnf,且重启数据库后,再次执行mysql -u root -p时,出现此警告。
#问题描述:
queena@queena-Lenovo:/etc/mysql/mysql.conf.d$ sudo chmod 777 mysqld.cnf
queena@queena-Lenovo:/etc/mysql/mysql.conf.d$ vim mysqld.cnf