MySQL
Hi Everyone,
I am new in linux.Plz help me to install MYsql & configure it.I am writing the whole coommand which i m using to install & configur the Mysql
1)First i place the zipped source file in /usr/src and unpack them with command
tar zxvf mysql.4.0-1 tar.gz
2)
groupadd mysql
3)
useradd -g mysql mysql
4)then enter in the source directory
cd /usr/src/mysql.4.0-1
5)
./configure --prefix=/usr/local/mysql
6)
make
7)
make install
8)setup the database
scripts/mysql_install_db
9)changing ownership
chown -R root /usr/local/mysql
*the actual problem in this command which is
chown -R mysql /usr/local/var
at this point it say operation not permitted.what is the problem here,after the command are
chgrp -R mysql /usr/local/mysql
here is same problem
Plz help me how to i install & configure the Mysql
Thanx
|