No such file or directory - /tmp/mysql.sock

No such file or directory - /tmp/mysql.sock

在Ubuntu下用apt-get默认安装了Mysql后运行php?name=rails" onclick="tagshow(event)" class="t_tag">rails程序会出现
引用:
No such file or directory - /tmp/mysql.sock
在linux下无论是默认安装还是编译安装mysql,都可以编辑mysql的配置文件my.conf

[Copy to clipboard] [ - ]