introduction screenshots faq forum blog modules components download
Please use the search function and/or read the FAQ first.

Go to Topic: PreviousNext
Go to: Message ListNew TopicSearchLog InPrint View

no root access



Posted by: wba
September 08, 2009 10:24PM
I have installed PHP5.3.0 exactly as in the web site, on a machine running Windows XP. I have administrator privileges on XP. During the install it told me not to mess with the root password for MySQL, so I didn't.

I got to page 159 of "PHP, MySQL & JavaScript" by Robin Nixon (O'Reilly), and it said to do "mysql -u root". I get

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)

Can anyone help me? I'm sure this is an utterly simple problem, but I'm an utter beginner.
Options: ReplyQuote
Posted by: Amour
September 08, 2009 11:22PM
YOu can go to EasyPHP Administration, password is given = empty
Options: ReplyQuote
Posted by: wba
September 09, 2009 12:30AM
Never mind. With the current version of MySQL, I need the explicit "-p"
flag. It then asks for the password, I hit <enter>, since the password
is the null string, and it works.
Options: ReplyQuote
Posted by: Amour
September 09, 2009 07:34AM
If you want, you can change root password ;)
Options: ReplyQuote


Go to: Message ListSearchLog In
Your Name: 
Your Email: 
Subject: 
Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.