Gitpod ports await look also is the service available
@loujaybee is already working on this.
Since Oct 17, 2022.
- Dominant language
- TypeScript
- Stars
- 13.8k
- Forks
- 1.4k
- Avg merge
- 17h 58m
- Merged PRs (30d)
- 5
Description
Is your feature request related to a problem? Please describe
When you start a MySQL server in Docker and you want to execute a MySQL command directly it's annoying as you have to wait for the right moment where the server is available
With gp ports await 3306 you get notified when the port is reachable. But port reachable is not the same as useable. You get then weird errors like `MySQL server has gone away'.
Describe the behaviour you'd like
Add an --type mysql to the command to try to connect to the MySQL server instead of just looking is the port open
Describe alternatives you've considered
until mysqladmin ping; do
sleep 1
done
Works but for DX it would be better I guess when it would be easier to do that
Additional context
I would like to implement that also
Originally asked at Discord.
Contributor guide
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.
Assessment
This issue has not been assessed yet.