Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我运行 rake ts:conf 时,我得到“无法通过套接字 '/var/run/mysqld/mysql.sock' (2) 连接到本地 MySQL 服务器”
这个套接字文件确实存在。
事实证明,我的应用程序的一部分在寻找 /mysql.sock,而一部分在寻找 /mysqld.sock。我最后只是将一个符号链接到另一个。