简体   繁体   中英

Problem starting up mySQL

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.

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.

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

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

?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM