PDMaas问答社区
Questions Tags Users Badges

终端连接数据库提示Can't connect to local MySQL server through socket

Asked May 19, 2025 Modified Dec 31, 0000
Viewed 14
ee

需要执行登录命令时指定socket文件:

/opt/pdmaas-ee/mysql-8.0.21/bin/mysql --socket=/opt/pdmaas-ee/mysql-8.0.21/mysql.sock -uroot -p
edited Dec 31, 0000
pdmaas601
asked May 19, 2025
0 Answers
Related Questions
MySQL如何设置枚举字段,且生成枚举SQL
如何解决PG数据库同步时DECIMAL数据类型匹配不上的问题?
如何自定义WORD模板?
为什么分支合并的时候,pdmaas-service提示The specified key does not exist

Terms of service Privacy policy

Powered by Answer - the open-source software that powers Q&A communities.
Made with love © 2026 PDMaas问答社区.