Installation of mysql on the linux machine
May 25, 2010 Leave a Comment
Many time I faced a problem to install mysql on the linux operating system, So in this blog I mentioned installation step of mysql on linux machine.
Get the mysql installation from http://ftp.jaist.ac.jp/pub/mysql/ site
- wget http://dev.mysql.com/get/Downloads/MySQL-5.1/mysql-5.1.41-linux-i686-glibc23.tar.gz/.
- Unzip the mysql-5.1.41-linux-i686-glibc23.tar.gz file.
- Goto the mysql dir, and run the following commands
groupadd mysql useradd -g mysql mysql chown -R mysql . chgrp -R mysql . scripts/mysql_install_db --user=mysql chown -R root . chown -R mysql data bin/mysqld_safe --user=mysql & bin/mysqladmin -u root password 'password'
Recent Comments