Chapter 7. Working with Databases

This chapter contains the following recipes:

  • Setting up a MySQL database
  • Backing up and restoring a MySQL database
  • Configuring MySQL replication
  • Setting up a MySQL cluster
  • Setting up a MongoDB database
  • Backing up and restoring a MongoDB database
  • Configuring a MongoDB replica set
  • Setting up an OpenLDAP directory
  • Backing up and restoring an OpenLDAP directory

Introduction

This chapter focuses on three databases. First, you'll learn how to install one of the most widely used relational database servers, MySQL. You'll also learn how to set up master-slave replication to maintain mirror copies of your MySQL databases, and how to stand up a MySQL cluster to provide scalable, high-availability data storage. Next, we'll move to ...

Get CentOS 7 Server Deployment Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.