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

Warnings when performing MySQL commands on mariadb:10.6 #23

Open
DanielKulbe opened this issue Jul 14, 2023 · 1 comment
Open

Warnings when performing MySQL commands on mariadb:10.6 #23

DanielKulbe opened this issue Jul 14, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@DanielKulbe
Copy link

Steps to reproduce:

  • import database on mariadb 10.6.x in lando

Result:
I received a whole lot of: WARNING: Forcing protocol to TCP due to option specification. Please explicitly state intended protocol.

Cause:
If hostname is not specified or hostname is localhost, then Unix sockets are used.
In other cases (hostname is given and it's not localhost) then a TCP/IP connection through the port option is used.
Note that localhost is a special value. Using 127.0.0.1 is not the same thing. The latter will connect to the mysqld server through TCP/IP.

Solution:
Change the Host from localhost to 127.0.0.1.

@DanielKulbe DanielKulbe added the bug Something isn't working label Jul 14, 2023
@jackfoust
Copy link

Did you make this change yourself in the .lando.yml @DanielKulbe?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants