如何修复丢失的MySQL套接字(Mamp)?

时间:2016-06-27 07:32:48

标签: mysql sql mamp mysql.sock

entityName,appointmentName

输入什么密码?

mysql.sock没有显示在文件夹

1 个答案:

答案 0 :(得分:0)

尝试此操作以查看套接字的位置。 MySQL将在启动时创建

MariaDB [yourSchema]> show variables like '%socket%';
+-----------------------------------------+-----------------+
| Variable_name                           | Value           |
+-----------------------------------------+-----------------+
| performance_schema_max_socket_classes   | 10              |
| performance_schema_max_socket_instances | -1              |
| socket                                  | /tmp/mysql.sock |
+-----------------------------------------+-----------------+
3 rows in set (0.07 sec)

MariaDB [yourSchema]>