Page 1 of 1

Starting up MySQL

Posted: Sat May 01, 2010 5:53 pm
by ptabatt
Hi guys, new user, new (fairly) programmer. I've been trying to configure PHP and MySQL at the windows command line I hit (according to the book I'm using on PHP and mySQL) and got this nasty message:

Code: Select all

    C:\Program Files (x86)\EasyPHP-5.3.2i\mySQL\bin\mysql.exe -uroot
    
And I got the error:

Code: Select all

    ERROR 1045 (28000): Acess denied for user 'ODBC'@localhost' (using password: YES)
    
It says in the book to write exactly that, but when I wrote:

Code: Select all

 C:\Program Files (x86)\EasyPHP-5.3.2i\mySQL\bin\mysql.exe -uroot password password 
All of the sudden I'm in SQL and it's giving me a list of all the commands, and before I know it i'm back at mySQL\bin. Please help me out guys. I'm using easyPHP (I have no preferences, I'm just doing what the book tells me) and I have no database programming experience. If you know what's wrong please explain to me like you would explain fractions to a child.