Automatically handle seeing a port 3306 in a connection string
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 68/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- mysql, typescript
- Domain
- databases
Research direction
The issue points to the existing mysql:// to https:// URL rewriting but names no file or test. Start by locating that connection-string parsing path and its tests. Done means an explicit :3306 is removed while the existing protocol rewrite and other connection-string behavior continue to work.
Written by the indexing model from the issue text.
Description
port 3306 can never work for us, and it's common that a DATABASE_URL that you've used in another environemnt that was a traditional mysql driver looks something like: mysql://user:pass@aws.connect.psdb.cloud:3306/dbname
We already ignore the mysql:// protocol and rewrite it to https://, so we should similarly drop the 3306 if a connection is overly explicit.
Refs #142
- Dominant language
- TypeScript
- Stars
- 1.2k
- Forks
- 42
- PR merge metrics
- No merged PRs in 30d
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.
More from planetscale/database-js
-
enhancement good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
planetscale/database-js#141 · 1 comment · 1 reaction ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
planetscale/database-js#191 · 1 reaction ·
-
Difficulty 4/5 3-5 days Newbie friendliness 42/100
planetscale/database-js#185 · 2 comments ·
-
Better Documentation Open
Difficulty 4/5 3-5 days Newbie friendliness 38/100
planetscale/database-js#180 · 5 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
planetscale/database-js#177 · 1 comment ·
All issues in planetscale/database-js
Similar issues
-
calcite-components needs triage refactor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Esri/calcite-design-system#15203 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 91/100
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficulty 1/5 Under an hour Newbie friendliness 95/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Automattic/studio#4908 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100