Meituan-Dianping / Meituan-Dianping/SQLAdvisor
socket不能指定?
Open
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 5.6k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
我的socket位置不是标准的,就报错了,难道一定要位于/var/lib/mysql/下?
2017-06-12 18:27:06 19007 [Note] 第3步:SQLAdvisor结束!错误日志:Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The report names no source file or test; start by locating where SQLAdvisor uses the hard-coded /var/lib/mysql/mysql.sock path and review the MySQL connection entry point. Done means a nonstandard MySQL socket can be specified and SQLAdvisor connects successfully through it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, mysql
- Domain
- databases
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100