Browse our MySQL & MariaDB Database articles here. We’ve documented and provided tutorials on installing, managing, backing up, restoring and performance tuning databases.

All HowTo's Linux MySQL & MariaDB Synology

Backup vTigerCRM on Synology (MySQL / MariaDB)

Synology include the vTiger CRM suite as a plugin/add-on. They didn’t include a backup solution though. This how-to described how to backup the vTiger CRM database. The idea is to dump the database regularly, into a place that some other backup process includes. For example, if you have a “Shared

Read more
All HowTo's Linux MySQL & MariaDB Redhat, Fedora and CentOS Linux Ubuntu, Mint & Debian Linux

Node.JS with MySQL

This article shows how to implement a small Node.js application that pulls data from a local MySQL server. We’re doing this on a CentOS server but that’s not important – any Linux will do. But if you’re using Windows, the installation process will differ. yum install nodejs npm install mysql

Read more
All HowTo's Linux MySQL & MariaDB Redhat, Fedora and CentOS Linux

Upgrade MariaDB to 10.3 on CentOS 7

Everything you see here is found more formally at “https://mariadb.com/docs/operations/upgrades/upgrade-community-server-cs103-centos7/”. This page is basically just my notes in case I can’t find the other site when I need it in future. We’re using CentOS 7 and upgrading from “MariaDB 5.5” to “MariaDB 10.3”. Backup your DB and config files first.

Read more
All HowTo's Linux MySQL & MariaDB Redhat, Fedora and CentOS Linux Ubuntu, Mint & Debian Linux

Fail2Ban with MySQL Database for IP Blacklisting

This article demonstrates how to configure Fail2Ban to use a MySQL (or MariaDB, etc) as the storage repository for IP blocking records. This allow multiple Fail2Ban services (running on multiple servers) to report and use a central IP blocking repository. A little context. In this article, we’re installing everything on

Read more
AGIX Discussion All HowTo's Linux MySQL & MariaDB PostgreSQL Redhat, Fedora and CentOS Linux Ubuntu, Mint & Debian Linux Web Servers

Installing Confluence & Migrating the Database to MySQL or PostgreSQL

This article explains the process of installing Confluence on your own server and then later migrating your content and settings from the “evaluation” database to something more professional such as MySQL or PostgreSQL. This article is basically an example with sensible assumptions. We’re using CentOS 7. When you first get

Read more
All HowTo's Linux MySQL & MariaDB Redhat, Fedora and CentOS Linux Ubuntu, Mint & Debian Linux

Find and Fix MySQL Performance Problems with Indexes

So you have a MySQL database and it’s running like a dog. A slow dog, not one of those fast ones. This article is for you. Actually, this article is more of a story about a recent problem a client had with a large Magento database that had become too

Read more
All HowTo's Linux MySQL & MariaDB Redhat, Fedora and CentOS Linux Ubuntu, Mint & Debian Linux

Simple Rsyslog/MySQL Log Viewer in PHP

I’ve previously documented how to configure Rsyslog to store logs in MySQL which gives a good tutorial on setting up MySQL as the Rsyslog backend and also remote logging to that Rsyslog server. To extend on that, you can easily view and filter the logs using the php web-app below.

Read more
All HowTo's Cybersecurity Linux MySQL & MariaDB Redhat, Fedora and CentOS Linux

Secure Log Remotely to Syslog & Store The Logs in MySQL | Redhat Linux & Centos

This article explains how to create an Rsyslog server that logs to MySQL (MariaDB). We’ve used CentOS 7 for this article. A few tips to save you time: If you’re logging from a remote node to this server, make sure you have proper host names because that’s what ends up in

Read more