Category: MySQL

MySQL InnoDB Corruption Repair Guide

MySQL InnoDB Corruption Repair Guide This is a basic guide that goes over some of the methods you can use to deal with some of the most common InnoDB corruption issues, from start to finish. SECTIONS /A/ First Response A/1 Initial Steps​ A/2 If MySQL is Crashing ​ /B/ Identifying

How to Recover InnoDB MySQL Table Data from ibdata and .frm Files

How to Recover InnoDB MySQL Table Data from ibdata and .frm Files This tutorial explains how to restore MySQL tables when all or some of the tables are lost, or when MySQL fails to load table data. One of the reason for this to happen is when the table data

Installing Lighttpd with PHP (PHP-FPM mode) and MySQL or MariaDB on Ubuntu 15.04

Installing Lighttpd with PHP (PHP-FPM mode) and MySQL or MariaDB on Ubuntu 15.04 Lighttpd is a secure, fast, standards-compliant web server designed for speed-critical environments. This tutorial shows how you can install Lighttpd on an Ubuntu 15.04 server with PHP support (through PHP-FPM) and MySQL. PHP-FPM (FastCGI Process Manager) is

Upgrading MySQL databases after a software update

Upgrading MySQL databases after a software update (and possibly repairing structure and tables if problems occurs)   Sometimes MySQL changes its internal database structures between versions. When that is the case, you might get these kind of errors after updating it (probably via yum) and trying to start it: [ERROR]

Convert InnoDB to innodb_file_per_table and Shrink ibdata1

Years ago, MySQL started allowing InnoDB to possess separate tablespace per table instead of a massive unified ibdata1 file.  Tablespace is basically a logical storage area that contains table information – references, if you will.  Every table, regardless of the storage engine, has one, and without it the table will be

LAMP Server (Apache / MariaDB /PHP) on Fedora 19+ and Centos/RHEL 7

LAMP is a combination of operating system and open-source software stack. The acronym LAMP comes from the first letters of Linux, Apache HTTP Server, MySQL/MariaDB database, and PHP, Perl or Python (and sometimes PhpMyAdmin too.)   Installing Apache Change to root (if not root already) user using the following command:

Install LAMP Server (Apache, MySQL or MariaDB, PHP) On Ubuntu 14.10/14.04/13.10

LAMP is a combination of operating system and open-source software stack. The acronym LAMP comes from the first letters of Linux, Apache HTTP Server, MySQL or MariaDB database, and PHP/Perl/Python. In this tutorial, we will see how to setup LAMP server on Ubuntu 14.10 system. Install Apache Apache is an