Zend 服务器 CE php myadmin
您好,我是 zend 框架的新手,首先我已经下载了 zend 社区服务器。我还创建了一个项目并设法运行示例留言簿应用程序。但是当我尝试打开 phpMyAdmin 时,它要求输入用户名和密码。在我的phpMyadmin 文件夹中有一个名为 config.inc 的文件。其中显示用户名是 root 并且没有设置密码。
当我尝试使用用户名作为 root 和密码的凭据登录时,我将其保留为空,但出现错误 #2003 无法登录到 MySQL 服务器。
我该如何解决这个问题? 感谢期待
Hi i am new to zend framework,To start with i have downloaded the zend community server.I have also created a projectand managed to run the sample guestbook application.But when i try to open phpMyAdmin it asks for user name and password.In my phpMyadmin folder there is a file called config.inc.In that it shows that username is root and there is no password set.
when i try to login with those credentials that is username as root and password i keep it blank i get an error #2003 Cannot log in to the MySQL server.
How can i solve that?
Thanx in anticipation
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
尝试打开cmd并运行“mysql -uroot mysql”并将密码保留为空。如果它没有帮助,那么尝试“1234” - 但这个密码实际上仅适用于 2009 ZendCE,并且必须设置为“”。如果您成功登录,请检查您的 phpmyadmin 配置是否有一些选项,例如 $cfg['Servers'][$i]['nopassword'] 或 $cfg['Servers'][$i]['AllowNoPassword' ]。应该设置为 true
另外还有一些关于允许 root 使用空白密码连接的选项(我不记得 excat 名称)。尝试查看类似AllowNoPasswordRoot 或AllowBlankRoot 的内容...
Try to open cmd and run "mysql -uroot mysql" and leave password empty. If it will not help, then try "1234" - but this password was actual only for 2009 ZendCE and it has to be set "". If you will succesfully log in, then check your phpmyadmin config whether there are some options like $cfg['Servers'][$i]['nopassword'] or $cfg['Servers'][$i]['AllowNoPassword']. Should be set to true
Also there is some option (I don't remember excat name) about allow root to connect with blank password. Try to look something like AllowNoPasswordRoot or AllowBlankRoot...
我也遇到了同样的问题,但是我的在完成安装后启动,并且无法在浏览器中运行服务器安装向导。
因此,在谷歌搜索一天后,我决定全部卸载,下载带有
PHP 5.2
的Zend
的替代版本,然后双击它运行它,我选择在其中运行作为管理员。它执行了相同的安装过程,但最终一切都运行良好。 phpMyAdmin 的用户名是“
root
”,密码为空。I was also having the same problem, but mine started after finishing the installation and not being able to run the server installation wizard in the browser.
So after googling around for a day I decided to uninstall all, download the alternate version of
Zend
withPHP 5.2
and before double clicking on it to run it I selected to run in as an administrator.It did the same process of installation but at the end it all worked perfectly. The username for the phpMyAdmin is "
root
" with blank password.