gpt4 book ai didi

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

转载 作者:行者123 更新时间:2023-11-29 20:51:03 25 4
gpt4 key购买 nike

Darshans-MacBook-Air-2:~ Darshan1$ sudo mkdir /var/mysql
Password:
Sorry, try again.
Password:
Sorry, try again.
Password:

密码要输入什么?

mysql.sock 未显示在文件夹中

最佳答案

尝试看看套接字在哪里。 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]>

关于mysql - 如何修复丢失的 MySQL 套接字 (Mamp)?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38048234/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com