Skip to content

Unable to access MariaDB #25546

Answered by Yanjingzhu
goloroden asked this question in Actions
Discussion options

You must be logged in to vote

Please try to add – protocol=tcp setting to mysql command. Because you are running MySQL inside Docker container, socket is not available and you need to connect through TCP. Setting “–protocol” in the mysql command will change that.

And you specify a wrong port 3009 in mysql command, please correct it to 3309.  

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants