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

How do I access the DB remotely? #23

Open
sipani909 opened this issue Dec 23, 2021 · 0 comments
Open

How do I access the DB remotely? #23

sipani909 opened this issue Dec 23, 2021 · 0 comments

Comments

@sipani909
Copy link

I cannot access the testrail DB inside the container remotely. Keep getting sock errors or can't connect to SQL DB Error 61.

abhijit.sipani@ASipani ~ % mysql -u root -h 10.110.0.25 -p -P 33060
Enter password: 
ERROR 2003 (HY000): Can't connect to MySQL server on '10.110.0.25:33060' (61)
abhijit.sipani@ASipani ~ % mysql -u root -h 10.110.0.25 -p
Enter password: 
ERROR 2003 (HY000): Can't connect to MySQL server on '10.110.0.25:3306' (61)

Local access fails as well

[ec2-user@ip-10-110-0-25 testrail-docker-master]$ mysql -u root -p 
Enter password: 
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
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

No branches or pull requests

1 participant