From: Thimble Smith Date: March 18 1999 2:08am Subject: Re: S90mysql Permission Denied List-Archive: http://lists.mysql.com/mysql/462 Message-Id: <19990317190843.N13520@desert.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Even if you're root the file has to have some execute permission set. Just run chmod o+x script-name and you should be ok. Tim On Wed, Mar 17, 1999 at 10:05:20PM -0400, LDJ wrote: > I have MYSQL set up to start automatically on boot by placing the > mysql.server script (shipped with package) in my /etc/rc.d/init.d/ > directory and changed the name to mysql and I have symlinks in rc2.d and > rc3.d, they are called S90mysql. > When my system boot up it tries to execute the S90mysql file but I get an > error saying permission denied. I can't figure out why. I am root. The > script tells mysql to start as root: > PATH=/sbin:/usr/sbin:/bin:/usr/bin > basedir=/usr/local/mysql > bindir=./bin > pid_file=/usr/local/mysql/data/mysqld.pid > mysql_daemon_user=root # Run mysqld as this user. > export PATH > Can anyone tell me what I have done wrong? > Regards, >