Starting MySQL

Ishwor Gurung ishwor.gurung at gmail.com
Mon Nov 2 15:11:50 GMT 2009


Hi David,

[...]
> When I try to start from the terminal however, I receive  the error message:
>
>
> "ERROR 1045 (28000): Access denied for user 'david'@'localhost' (using
> password: NO)"

$ mysql -u david -p
<type your password>

See how it goes. If you haven't set the user, then re-configure mysql
to use one (iirc, by default, it has a root user. if it doesn't then
just do as 'dpkg-reconfigure mysql-server' as root). If it still
doesn't like it, try edting my.cnf (resides somewhere in /etc
directory) directly - http://www.modwest.com/help/kb6-242.html

[...]
-- 
Regards,
Ishwor Gurung



More information about the ubuntu-au mailing list