Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix sail mysql command #96

Closed
wants to merge 1 commit into from

Conversation

nozo-moto
Copy link
Contributor

currently error happen when using sail mysql

$ sail mysql
ERROR: No such service: mysql

So I fixed it. Then you can check it works

$  sail mysql
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 9
Server version: 5.7.33 MySQL Community Server (GPL)

Copyright (c) 2000, 2021, Oracle and/or its affiliates.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql>

@taylorotwell
Copy link
Member

Working fine for me:

image

@sa9sha9
Copy link

sa9sha9 commented Apr 10, 2021

@taylorotwell
i faces same issue.
This is a bug that occurs when the service name, in docker-compose.yml, is custom like hoge-mysql.test.
And such a case is highly probable when developing in parallel, since the service name mysql.test is probably duplicated.

@nozo-moto nozo-moto mentioned this pull request May 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants