刚刚逛论坛发现了有坛友使用navicat15连接mysql报错找不到mysql.sock,经过测试发现,在连接mysql或者mariadb时,主机使用localhost时会报错,这时把localhost改为127.0.0.1就能正常连接数据库了,希望能够对一些坛友提供一定的帮助吧
👍🏻
优秀~
Popular Ranking
Popular Events
刚刚逛论坛发现了有坛友使用navicat15连接mysql报错找不到mysql.sock,经过测试发现,在连接mysql或者mariadb时,主机使用localhost时会报错,这时把localhost改为127.0.0.1就能正常连接数据库了,希望能够对一些坛友提供一定的帮助吧