Sunday, 17 April 2016

How to configure MySQL on Linux ?


Linux (RHEL)
Download and install using RPM 
rpm -i vh mysql-server-5.0.rpm

Start MySQL 
/etc/rc.d/init.d/mysqld start  

Linux (Debian)
Download and install using .deb
apt-get install mysql-server-5.0

Start MySQL 
/etc/init.d/mysql start  

The default configuration file is in /etc/my.cnf

No comments:

Post a Comment

Note: only a member of this blog may post a comment.