1) File: mysql-max-3.23.49a-pc-linux-gnu-i686.tar.gz 2) Enter the following commands: groupadd mysql useradd -g mysql mysql cd /usr/local gunzip < src/mysql-max-3.23.49a-pc-linux-gnu-i686.tar.gz tar xvf - ln -s mysql-max-3.23.49a-pc-linux-gnu-i686 mysql cd mysql scripts/mysqld_install_db chown -R root . chown -R mysql data chgrp -R mysq . 3) Next, if you want to start the mysql server, enter the command: bin/safe_mysqld --user=mysql & 4) Now, the mysql is starting. You can ...: bin/mysql to execute some sql commands or sql sentences.
1) File: mysql-max-3.23.49a-pc-linux-gnu-i686.tar.gz
2) Enter the following commands:
groupadd mysql
useradd -g mysql mysql
cd /usr/local
gunzip < src/mysql-max-3.23.49a-pc-linux-gnu-i686.tar.gz tar xvf -
ln -s mysql-max-3.23.49a-pc-linux-gnu-i686 mysql
cd mysql
scripts/mysqld_install_db
chown -R root .
chown -R mysql data
chgrp -R mysq .
3) Next, if you want to start the mysql server, enter the command:
bin/safe_mysqld --user=mysql &
4) Now, the mysql is starting. You can ...:
bin/mysql
to execute some sql commands or sql sentences.