Edw*_*ard 17 mysql zend-server
我意识到这可能被视为重复,但我已经查看了其他响应,他们没有为我解决问题.
我最近在Windows 7上安装了Zend Studio和Zend Server以及mysql插件.
我不是一个合格的服务器管理员,但我也不是完全无能; 我一直在努力让本地开发'服务器'减少上传/下载时间.
当我说服务器/机器我的意思是我的家用电脑
我试图让mysql与Zend Server一起工作.
我一直收到的错误是(或详细):
#2002 Cannot log in to the MySQL server
or (if i change to 'config' authentication type)
#2002 - No connection could be made because the target machine actively refused it.
The server is not responding (or the local server's socket is not correctly configured).
Run Code Online (Sandbox Code Playgroud)
我试过了:
Zend的方法是'配置phpmyadmin设置屏幕'...完成,我不知道多少次.
这里的任何人都能伸出援助之手,还是指向我尚未尝试过的方向?
Waj*_*hid 37
为我做了诀窍.希望它也适合你.
您可能需要:
在wamp\bin\mysql\mysqlX.X.XX\my.ini 找到这些行:
[client]
...
port = 3308
...
[wampmysqld64]
...
port = 3308
如您所见,端口号是3308(或者可能是3306)。你应该 :
define('DB_HOST', 'localhost:3308')或者
wamp\bin\apache\apache2.X.XXX\bin\php.ini更改
mysqli.default_port = ... 为3308