Database 完全知识体系
使用 TCP 连接
如果你只想快速连接,不想折腾 socket:
⚠️ 一定要用 127.0.0.1,不要用 localhost,否则 MySQL 会继续尝试用 socket。