access privileges 2007-10-07 - By Shams Fantar
Back Ananda Kumar wrote: > Hi All, > Today I installed mysql for debian OS. > > After the installation, i started mysql using mysqld_safe &. > > Now if i try to connect to mysql using "mysql -uroot -p", it fails, but if i > use "-habc" it works. > > Do i need to set some parameters or give privileges, please let me know. > > regards > anandkl > >
You must indicate a password after the -p option. You can set your password with :
# mysql_secure_installation
For more information on this command, try man mysql_secure_installation. ;-)
Regards,
-- .''`. Shams Fantar - Website : http://snurf.info - : :' : Weblog : http://blog.snurf.info - `. `' Documentation for GNU/Linux : http://doc.snurf.info - `- Debian project : http://debian.org
-- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/mysql?unsub=mysql@(protected)
|
|