MySQL

How To Troubleshoot Socket Errors in MySQL — step-by-step Linux tutorial on Progressive Robot

How To Troubleshoot Socket Errors in MySQL

MySQL manages connections to the database server through the use of a socket file, a special kind of file that facilitates communications between different processes. The MySQL server’s socket file is named mysqld.sock and on Ubuntu systems it’s usually stored in the /var/run/mysqld/…

Read more
How To Use ProxySQL as a Load Balancer for MySQL on Ubuntu 16.04 — step-by-step Linux tutorial on Progressive Robot

How To Use ProxySQL as a Load Balancer for MySQL on Ubuntu 16.04

ProxySQL is an open-source MySQL proxy server which can improve performance by distributing traffic among a pool of multiple database servers and also improve availability by automatically failing over to a standby if a database server fails. In this guide, you will set up ProxySQL as a load balancer for multiple MySQL servers with automatic failover.

Read more
How To Use the PDO PHP Extension to Perform MySQL Transactions in PHP on Ubuntu 18.04 — step-by-step Linux tutorial on Progressive Robot

How To Use the PDO PHP Extension to Perform MySQL Transactions in PHP on Ubuntu 18.04

A MySQL transaction is a group of logically related SQL commands that are executed in the database as a single unit. Transactions are used to enforce ACID (Atomicity, Consistency, Isolation, and Durability compliance in an application. This is a set of standards that govern the reliability of processing operations in a database. In this tutorial, you will use the PDO PHP Extension, which provides an interface for working with databases in PHP, to perform MySQL transactions.

Read more
Scaling Ruby on Rails: Setting Up A Dedicated MySQL Server (part 2) — step-by-step Databases tutorial on Progressive Robot

Scaling Ruby on Rails: Setting Up A Dedicated MySQL Server (part 2)

In this second part of our Scaling-Rails the cloud provider article series, we are going to see how to create a droplet to host the database layer, for application servers to connect-to and work-with. Our aim here is to minimize the chances of letting a Single Point of Failure (SPoF) emerge as a possible culprit of downtime (or loss), by distinctively delegating one single task per server.

Read more
Databases Checkpoint — step-by-step Databases tutorial on Progressive Robot

Databases Checkpoint

This checkpoint is intended to help you assess what you learned from our introductory articles to Databases, where we defined databases and introduced common database management systems.

Read more
CHAT