Easy Steps to Upgrade Mysql from version 5.0 to 5.5

Upgrade your Mysql version from 5.0 to 5.5 by using following steps 1. Enable remi repository for yum wget http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm wget http://rpms.famillecollet.com/enterprise/remi-release-5.rpm sudo rpm -Uvh remi-release-5*.rpm epel-release-5*.rpm 2. Run mysqldump to export data out from MySQL 5.0 mysqldump -uroot -p –all-databases > mysqlbackup.sql 3. Run ‘yum –enablerepo=remi install mysql mysql-server mysqlclient’ 4. Run mysql_upgrade (part […]

How to Enable MySQL Slow Query Log in a cPanel/WHM Linux server

To MySQL enable slow query log in cPanel server, you can use the following steps. Add the following to /etc/my.cnf file on the server. # vi /etc/my.cnf log-slow-queries=/var/lib/mysql/slow.log After that, do the following commands to create the file with the right ownership and file permissions # touch /var/lib/mysql/slow.log # chmod 660 /var/lib/mysql/slow.log # chown mysql:mysql […]

Manage MySQL services through WHM

Manage MySQL services through WHM In today’s blog we are going to discuss about MySQL Services in WHM/cPanel. It provides various tools for managing the MySQL databases on the server. You can also perform the various operations like how to manage MySQL user passwords, how to change the Root MySQL Password, and repair MySQL database […]