启动 mySQL 时出现问题

发布于 2024-08-30 15:18:28 字数 315 浏览 1 评论 0原文

我刚刚下载了 PHP,并尝试使用以下命令运行 mySQL:

C:\Program Files\EasyPHP-5.3.2i\mySQL\bin\mysql.exe

我收到错误:

ERROR 1045 (28000): Acess denied for user 'ODBC'@localhost' (using password: YES)

我在 linux 上找到了一个在线解决方案,但我在这台机器上运行 vista,并且不知道这一切意味着什么。请帮忙,我厌倦了使用学校的终端。

I just downloaded PHP and I tried running mySQL with the command:

C:\Program Files\EasyPHP-5.3.2i\mySQL\bin\mysql.exe

And I got the error:

ERROR 1045 (28000): Acess denied for user 'ODBC'@localhost' (using password: YES)

I found a solution online with linux, but I'm running vista on this machine and have no clue what all of that meant. Please help, I'm tired of using the school's terminals.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

爱冒险 2024-09-06 15:18:28

这意味着三种可能的事情之一。

  1. 您需要使用您正在使用的密码在 mysql 中创建一个新用户将
  2. “ODBC”用户的密码设置为您正在使用的密码
  3. 向您尝试连接的主机授予权限,在本例中

为 localhost 没有更多信息您的具体设置很难更准确地回答。

It means one of three likely things.

  1. you need to either create a new user in mysql with the password you are using
  2. set the password of the "ODBC" user to what you are using
  3. grant permission to the host you are attempting to connect from, in this case localhost

Without more information to your specific setup it will be very difficult to answer with more accuracy.

青瓷清茶倾城歌 2024-09-06 15:18:28

您是否尝试过向命令提供用户名,例如:

C:\Program Files\EasyPHP-5.3.2i\mySQL\bin\mysql.exe -u root

Have you tried supplying the username to the command, for example:

C:\Program Files\EasyPHP-5.3.2i\mySQL\bin\mysql.exe -u root

?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文