List:General Discussion« Previous MessageNext Message »
From:javad bakhshi Date:November 15 2011 12:31pm
Subject:PID and LOG file
View as plain text  

I am trying to install Mysql on linux which I don't have a root access. I have done the
folowing :

1. Download source files from and un-tar thwm
2. configure the instalation using ./configure as:
    CFLAGS="-O3" CXX=gcc CXXFLAGS="-O3 -felide-constructors -fno-exceptions
-fno-rtti" ; \
./configure --prefix=/bubo/home/h10/javad/scratch/mysql \
            --enable-assembler \
--with-mysqld-ldflags=-all-static \
--with-client-ldflags=-all-static \
--with-mysqld-user=javad \
--with-unix-socket-path=/bubo/home/h10/javad/scratch/mysql/tmp/mysql.sock \
--localstatedir=/bubo/home/h10/javad/scratch/mysql/share \

3. execute ./bin/mysql_install_db
4. execute bin/mysqld_safe & to run mysql. but at this point I get the folowing error:
    Starting mysqld daemon with databases from
    ./bin/mysqld_safe: line 394: /var/log/mysqld.log: Permission denied
    ./bin/mysqld_safe: line 402: /var/log/mysqld.log: Permission denied
    STOPPING server from pid file
    tee: /var/log/mysqld.log: Permission denied
    111115 13:14:18  mysqld ended
    tee: /var/log/mysqld.log: Permission denied

I don't know why I get this error since I have changed the my.cnf to

Best regards,
Javad Bakhshi,

PID and LOG filejavad bakhshi15 Nov
  • Re: PID and LOG fileMichael Dykman15 Nov