$ chown -R mysql:mysql yourdirectoryofmysql

On 1/31/07, WebIT <[EMAIL PROTECTED]> wrote:

Sorry, probably a really simple thing, but when I try and start mysqld it
fails.

[EMAIL PROTECTED] yum.repos.d]# /sbin/service mysqld start
Timeout error occurred trying to start MySQL Daemon.
Starting MySQL:                                            [FAILED]

I've checked the mysqld.log file and it has the following:

070131 09:34:17  mysqld started
070131  9:34:18  InnoDB: Started; log sequence number 0 43634
070131  9:34:18 [ERROR] /usr/libexec/mysqld: Can't create/write to file
'/var/run/mysqld/mysqld.pid' (Errcode: 13)
070131  9:34:18 [ERROR] Can't start server: can't create PID file:
Permission denied
070131 09:34:18  mysqld ended

I can't see what permissions it needs that are different.  Can anyone
assist?

Thanks
Nunners


--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:
http://lists.mysql.com/[EMAIL PROTECTED]


Reply via email to