Recover MySQL 5.7 root Password in Redhat/CentOS 7

You can recover MySQL 5.7 root Password with following 9  easy steps. These commands will work in Redhat/CentOS 7 Step-1: Stop MySQL server systemctl stop…

fixing mysql replication error automatically

This article is written for those who have already read article “MySQL Replication skip error” . In that article I explained how to find out replication…
Comments Off on Create database and user in phpMyAdmin

Create database and user in phpMyAdmin

phpMyAdmin is a great tool to manage MySQL and MariaDB database.  Every cPanel allows  phpMyAdmin interface to manage the hosting database. It is often required…

MySQL Replication skip error

MySQL Replication skip error There are two ways you can configure MySQL replication : normal and GTID based replication. From MySQL 5.6 GTID based replication…

Install OCI8 on CentOS/Redhat/Fedora

Install OCI8 on CentOS/Redhat/Fedora The post will describe how to Install OCI8 on CentOS/Redhat/Fedora in step by step. The easiest way to configure PHP to access…
Comments Off on Remove Duplicate Rows in MySQL

Remove Duplicate Rows in MySQL

Remove Duplicate Rows in MySQL Remove duplicate rows in MySQL is a common query for many initial MySQL user. I  have been working on MySQL…

Optimize MySQL innodb_buffer_pool_size

Optimize MySQL innodb_buffer_pool_size InnoDB buffer pool is the size in bytes of the buffer pool, the memory area where InnoDB caches table and index data.…

Optimize MySQL tmp_table_size

Optimize MySQL tmp_table_size MySQL tmp_table_size is  the maximum size of internal in-memory temporary tables. (The actual limit is determined as the minimum of tmp_table_size and max_heap_table_size.) If…
Comments Off on Change MySQL Data Directory

Change MySQL Data Directory

Change MySQL Data Directory In Redhat/CentOS/Fedora MySQL default data directory remains in /var/lib/mysql. Sometimes you need to change MySQL data directory to a new location…

Optimize MySQL table_open_cache

Optimize MySQL table_open_cache The number of open tables for all threads. Increasing this value increases the number of file descriptors that mysqld requires. You can…

Optimize MySQL query_cache_size

Optimize MySQL query_cache_size The MySQL query_cache_size is an in memory caches that stores the complete result sets of frequent SELECT queries. Instead of issuing the…
Comments Off on MySQL system variables

MySQL system variables

Important MySQL System Variables MySQL is mostly used open source database which is very fast and effective when you perfectly configure it.  In this article…
Comments Off on Repair WordPress Database by PhpMyAdmin

Repair WordPress Database by PhpMyAdmin

Repair WordPress Database by PhpMyAdmin This post will describe how to “Repair WordPress Database by PhpMyAdmin” in step by step. WordPress use MySQL database; and…
Comments Off on Fastest way to select a random row from a big MySQL table

Fastest way to select a random row from a big MySQL table

Fastest way to select a random row from a big MySQL table In this article I will try to explain the “Fastest way to select…

Connect oracle database from php in Redhat/CentOS

Connect oracle database from php in Redhat/CentOS/Fedora The post will describe how to connect Oracle database from PHP in Redhat/CentOS in step by step. The…
PHP

MySQL Version Upgrade in Redhat/CentOS from 5.1 to latest

MySQL Version Upgrade in Redhat/CentOS from 5.1 to latest If you follow traditional procedure for “MySQL Version Upgrade in Redhat/CentOS from 5.1 to latest” ,…