1、替换代码
从老的数据库中导出的数据库文件,用vscode等代码编辑器打开。
查找:utf8mb4_unicode_ci,全部替换为:utf8_general_ci
查找:utf8mb4 全部替换为 utf8
1、替换代码
从老的数据库中导出的数据库文件,用vscode等代码编辑器打开。
查找:utf8mb4_unicode_ci,全部替换为:utf8_general_ci
查找:utf8mb4 全部替换为 utf8
shell>mysql -uroot -p123456 ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111)试了一下:mysql -uroot -p123456 -S /tmp/mysql.sock ------问题依旧,网上查了很多
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M