formulahendry / formulahendry/vscode-mysql
Can't connect to a localhosts database in lampp
- Dominant language
- TypeScript
- Stars
- 229
- Forks
- 58
- PR merge metrics
- No merged PRs in 30d
Description
Hello!
I tried to make a new connection in a localhost that has mariaDB running, when entering the credentials it throws me a connection error, it is not possible to connect, programming with Python something similar happened to me with the pymysql library, where I had to manually write the socket of MySql. eg:
```python
connection = pymysql.connect (
unix_socket = "/ opt / lampp / var / mysql / mysql.sock",
host = 'localhost',
user = user,
passwd = pswd,
db = 'python',
```
But I don't know or can't find how to modify the socket path for the extension, could you help me please? Thanks!
Contributor guide
No contributing guide indexed for this repository
Research direction
The issue names no repository files, tests, or entry points. Reproduce the connection failure with a LAMPP MariaDB instance and inspect how the extension handles localhost connections and socket paths. Done means a user can configure or otherwise use the MariaDB socket path and connect successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- mariadb, mysql, typescript, vscode
- Domain
- database, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100