mysql server 4.1 can't connect no matter what

For some strange reason mysql server 4.1 won't connect, it use to be for it
to work I had to load an init file:
C:\mysql\bin\mysqld-nt --init-file=C:\mysql-init.txt

containing:

SET PASSWORD FOR 'root' [at] 'localhost' = PASSWORD('password');

and then type on my ms-dos console:

[PATH TO MYSQL BINS]/mysqld-nt --skip-grant-tables

Then open another command prompt and run 'mysql -u root' and run the
following query:


UPDATE mysql.user SET Password='newpass' WHERE User='root' AND
Host='localhost';


Then shutdown the server, and restart it normally. You should then be able
to connect with 'mysql -u root'.

I have had to do this everytime to connect to mysql server 4.1. Now it
doesn't work at all each time it says can't connect error 20003...
Gonzosez [ Sa, 14 Juli 2007 21:50 ] [ ID #1768559 ]

Re: mysql server 4.1 can't connect no matter what

Post removed (X-No-Archive: yes)
Notifier Deamon [ Di, 17 Juli 2007 19:36 ] [ ID #1771144 ]
PHP » alt.php.sql » mysql server 4.1 can't connect no matter what

Vorheriges Thema: deleting all data in a db
Nächstes Thema: mysql_fetch_array yielding different results to MySQL's output