随笔分类 - MySQL
摘要:[root@centos7 ~]#service mysqld start/etc/init.d/mysqld: line 239: my_print_defaults: command not found/etc/init.d/mysqld: line 259: cd: /usr/local/my
阅读全文
摘要:mariadb yum源包来自 centos7.4 系统光盘自带包 错误信息: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) 出现问题原因: 有可能是 my.c
阅读全文
摘要:version: "3.7" services: mysql: container_name: mysql image: mysql:5.7 #从私有仓库拉镜像 restart: always command: --default-authentication-plugin=mysql_native
阅读全文
摘要:出现这个原因是mysql8 之前的版本中加密规则是mysql_native_password,而在mysql8之后,加密规则是caching_sha2_password, 解决问题方法有两种,一种是升级相应连接软件的t驱动,一种是把mysql用户登录密码加密规则还原成mysql_native_pas
阅读全文