1.Mysql 已经装好了,DB driver 也已经安装成功,在尝试连接数据库时候失败ERROR 2002 (HY000)Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)已经尝试:mysql startERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)mysql -urootERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)mysql -h localhostERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)mysql -h 127.0.0.1ERROR 2003 (HY000): Can't connect to MySQL server on '127.0.0.1' (61)然后去temp文件夹下面根本没有目标文件/tmp/mysql.sock使用查找命令:find / -name mysql.sock都是:Permission denied网上找了好多都失败~求助,谢谢
添加回答
举报
0/150
提交
取消