On debian, the password is set during the initial install of
mysql-server.  The default is blank (which isn't as insecure as it
sounds, since the default is also to not listen on the network...).

If you took the default, this should work:
mysql -u root

If you changed it, there is no longer a good way to get at it, since it
is no longer saved.  (It used to be saved in ~root/.my_cnf, but now the
install script sets the password and then forgets it.)

You may be best off to purge mysql-server-5.0 and then reinstall to
allow you to reset the password.


-- 
snarlydwarf
------------------------------------------------------------------------
snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=38976

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/unix

Reply via email to