MySQL problem upon connecting to server.

wxdqz

New Member
I'm using the webmonkey tutorial at

<!-- m --><a class="postlink" href="http://hotwired.lycos.com/webmonkey/99/21/index2a.html?tw=programming">http://hotwired.lycos.com/webmonkey/99/ ... rogramming</a><!-- m -->

and after a few months have got PHP sorted, I came back to it, and upon my first attempt, I get this error...

C:\MYSQL\BIN\MYSQL~1.EXE: connect to server at 'localhost' failed
error: 'Access denied for user: 'root@localhost' (Using password: NO)'

... when I put in

mysqladmin -u root create mydb

at c:\mysql\bin> prompt in DOS.

I'm using Win 98, a DOS window. I know it much be installed okay because when using the

<?php
phpinfo();
?>

test it returns information on PHP and MySQL is mentioned quite a bit, I'm using PHP Version 4.0 and using a PWS, I'm not really sure what it does (!) but I had to put it on to allow me to edit the doc_root in php.ini.

Thanks for any help with this.

James
 
Back
Top