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 […]

See More
The Transaction Log For Database Is Full

“The Transaction Log For Database Is Full” Easy Steps to Resolve

Microsoft is a widely used database in windows server, also its be default SQL server with a Plesk control panel which is used on windows base server in hosting industries. Every database has its own property and limitations set when it gets created, many times it happens that these resources get exhausted after a certain […]

See More
How to Enable The Slow Query Log

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 […]

See More