[英]Connecting sequel pro to docker mysql
I have followed a guid on how to install mysql to docker here .我在这里遵循了如何安装 mysql 到 docker 的指南。 On running the
docker ps
I get:在运行
docker ps
时,我得到:
CONTAINER ID IMAGE COMMAND CREATED
3e477bb5aaf9. mcr.microsoft.com/mssql/server:2019-latest "/opt/mssql/bin/perm…" 53 seconds ago
STATUS PORTS NAMES
Up 52 seconds 0.0.0.0:1433->1433/tcp sql_server
I have tried to connect to it from sequel pro like this:我试图像这样从 sequel pro 连接到它:
But, that didn't work.但是,那没有用。 I got the connection error message:
我收到连接错误消息:
Unable to connect to host 127.0.0.1, or the request timed out.
Be sure that the address is correct and that you have the necessary privileges, or try increasing the connection timeout (currently 10 seconds).
MySQL said: Can't connect to MySQL server on '127.0.0.1' (4)
I wonder how can I get connected with Sequel Pro to mysql server on docker?我想知道如何将 Sequel Pro 连接到 docker 上的 mysql 服务器?
You've messed up between MySQL and MSSQL.你搞砸了 MySQL 和 MSSQL。 These two are completely different products with incompatible protocols.
这两个是完全不同的产品,协议不兼容。
sequelpro
is the tool to connect to MySQL server, while you are running MSSQL. sequelpro
是在运行 MSSQL 时连接到 MySQL 服务器的工具。 No magic, it can't connect.没有魔法,它无法连接。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.