Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: access privileges

From: Shams Fantar <sfantar(at)snurf.info>
Date: Sun Oct 07 2007 - 13:06:43 EDT


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=lists@pantek.com
Received on Sun Oct 7 13:08:10 2007

This archive was generated by hypermail 2.1.8 : Thu Jul 03 2008 - 08:38:27 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library