From: javad bakhshi Date: November 15 2011 12:31pm Subject: PID and LOG file List-Archive: http://lists.mysql.com/mysql/226304 Message-Id: <1321360261.37159.YahooMailNeo@web125705.mail.ne1.yahoo.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="-268986479-227706526-1321360261=:37159" ---268986479-227706526-1321360261=:37159 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Hi,=0A=0AI am trying to install Mysql on linux which I don't have a root ac= cess. I have done the folowing :=0A=0A1. Download source files from http://= dev.mysql.com/downloads/mysql/ and un-tar thwm=0A2. configure the instalati= on using ./configure as:=0A=A0=A0=A0 CFLAGS=3D"-O3" CXX=3Dgcc CXXFLAGS=3D"-= O3 -felide-constructors -fno-exceptions -fno-rtti" ; \=0A./configure --pref= ix=3D/bubo/home/h10/javad/scratch/mysql \=0A=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0 --enable-assembler \=0A=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 --with-mysqld-= ldflags=3D-all-static \=0A=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 --with-client-l= dflags=3D-all-static \=0A=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 --with-mysqld-us= er=3Djavad \=0A=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 --with-unix-socket-path=3D= /bubo/home/h10/javad/scratch/mysql/tmp/mysql.sock \=0A=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0 --localstatedir=3D/bubo/home/h10/javad/scratch/mysql/share \= =0A=A0=A0=A0 =A0=A0=A0=A0=A0=A0=A0 --datadir=3D/bubo/home/h10/javad/scratch= /mysql/data\=0A=A0=A0=A0 =A0=A0 =A0 =A0=A0 --enable-thread-safe-client=0A= =0A3. execute ./bin/mysql_install_db=0A4. execute bin/mysqld_safe & to run = mysql. but at this point I get the folowing error:=0A=A0=A0=A0 Starting mys= qld daemon with databases from /bubo/home/h10/javad/scratch/mysql/data=0A= =A0=A0=A0 ./bin/mysqld_safe: line 394: /var/log/mysqld.log: Permission deni= ed=0A=A0=A0=A0 ./bin/mysqld_safe: line 402: /var/log/mysqld.log: Permission= denied=0A=A0=A0=A0 STOPPING server from pid file /bubo/home/h10/javad/scra= tch/mysql/data/the.pid=0A=A0=A0=A0 tee: /var/log/mysqld.log: Permission den= ied=0A=A0=A0=A0 111115 13:14:18=A0 mysqld ended=0A=A0=A0=A0 tee: /var/log/m= ysqld.log: Permission denied=0A=0AI don't know why I get this error since I= have changed the my.cnf to=0A=A0=A0=A0 err-log=3D/bubo/home/h10/javad/scra= tch/mysql/data/the.log=0A=A0=A0=A0 pid-file=3D/bubo/home/h10/javad/scratch/= mysql/data/the.pid=0A=0A=0A=0A=0A=A0=0ABest regards,=0AJavad Bakhshi,=0A ---268986479-227706526-1321360261=:37159--