errono:13 is "Permission Denied".  Check permissions for mysql data dir.

On Mon, Mar 14, 2011 at 11:02 AM, Adarsh Sharma <adarsh.sha...@orkash.com>wrote:

> Dear all,
>
> I am facing the below problem while installing mysql in a debian based
> system from the last 2 days.
>
> I tried the command apt-get install mysql-server but the server doesn't
> start properly due to below exception in /var/log/syslog
>
> 41 [ERROR] /usr/sbin/mysqld: Can't find file: './mysql/user.frm' (errno:
> 13)
> Mar 14 10:36:41 sun-cloud mysqld[3500]: ERROR: 1017  Can't find file:
> './mysql/user.frm' (errno: 13)
> Mar 14 10:36:41 sun-cloud mysqld[3500]: 110314 10:36:41 [ERROR] Aborting
> Mar 14 10:36:41 sun-cloud mysqld[3500]:
>
> Don't know what is the reason behind this. I attached my debian.cnf file
> also.
>
> Please guide me how to resolve this permanently and also I need to access
> the mysql server from many client servers.
>
> My /var/lib/mysql permissions are :
> root@sun-cloud:/var/lib# ls -ls | grep mysql
> 4 drwx------ 3 mysql mysql 4096 2011-03-14 10:36 mysql
>
>
>
> Thanks & best Regards,
>
> Adarsh Sharma
>
> # Automatically generated for Debian scripts. DO NOT TOUCH!
> [client]
> host     = localhost
> user     = debian-sys-maint
> password = l7MZwYyF45QH8wrY
> socket   = /var/run/mysqld/mysqld.sock
> [mysql_upgrade]
> host     = localhost
> user     = debian-sys-maint
> password = l7MZwYyF45QH8wrY
> socket   = /var/run/mysqld/mysqld.sock
> basedir  = /usr
>
>
>
> --
> MySQL General Mailing List
> For list archives: http://lists.mysql.com/mysql
> To unsubscribe:    http://lists.mysql.com/mysql?unsub=nilnan...@gmail.com
>

Reply via email to