我可以从外部连接到我的MySQL服务器(这样我就知道服务器已经启动并运行),但是当我尝试本地连接时,我得到的是最好的旧版本
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
所以不同于其他情况,我的服务器正在运行-只是我不能在本地连接?
在向ISS添加一些SSL站点的过程中设置了第二个网络适配器之后,我的Server 2005实例就不再可以访问了--包括通过。
我收到的具体错误是:
Cannot connect to xxxxxx.
Additional information:
A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: Shared Memory Provider, error: 0 - No process
当我尝试从与postgresql服务器相同的ec2实例本地连接到postgresql服务器时,我收到以下错误:
django.db.utils.OperationalError: FATAL: Ident authentication failed for user "django"
我检查了我的pg_hba.conf以确保它允许本地连接:
# "local" is for Unix domain socket connections only
local all all