List:General Discussion« Previous MessageNext Message »
From:Shams Fantar Date:October 7 2007 5:06pm
Subject:Re: access privileges
View as plain text  
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

Thread
access privilegesAnanda Kumar4 Oct
  • Re: access privilegesShams Fantar7 Oct