MariaDB

Image: How to choose a database using SELECT DATABASE in MariaDBsakkmesterkeshut­ter­stock

How to choose a database using SELECT DATABASE in MariaDB

MariaDB offers two methods for selecting a database within its man­age­ment system. In this dedicated article, we il­lus­trate how to use the USE statement in the command line and the mysqli_select_db function in PHP with a straight­for­ward example, and also highlight what you need to…

Read more
Image: How to set the maximum data packet size with MariaDB max_allowed_packetTitima Ongkan­tongShut­ter­stock

How to set the maximum data packet size with MariaDB max_allowed_packet

The system variable MariaDB max_allowed_packet de­ter­mines the maximum size a single data packet can be during com­mu­ni­ca­tion between client and server. If the value is too low, larger data imports or SQL queries will fail with error messages. This parameter can be specif­i­cal­ly…

Read more
Image: How to save an HTML form to a MySQL databaseGoro­denkoffshut­ter­stock

How to save an HTML form to a MySQL database

A PHP script offers a simple and effective way to take in­for­ma­tion submitted through a website’s HTML form and store it in a MySQL or MariaDB database. This tutorial walks you through the basics of adding form data to your database, including how to create a straight­for­ward PHP…

Read more
Image: How to install MySQL and MariaDB step by stepAhmet Misirligulshut­ter­stock

How to install MySQL and MariaDB step by step

MySQL and MariaDB are powerful, widely used re­la­tion­al database systems designed for ef­fi­cient­ly storing and managing struc­tured data. This com­pre­hen­sive step-by-step guide explains how to install MySQL and how to install MariaDB on various Linux dis­tri­b­u­tions, showing you how to…

Read more
Image: How to fix the “too many connections” error in MySQL/MariaDBJuice Flairshut­ter­stock

How to fix the “too many con­nec­tions” error in MySQL/MariaDB

The MySQL “too many con­nec­tions” error in MySQL or MariaDB can cripple websites and ap­pli­ca­tions if there are too many si­mul­ta­ne­ous con­nec­tions. In this article, we show the actions you can take to fix it. You’ll learn how to increase the maximum number of allowed con­nec­tions,…

Read more
Image: What are the best MySQL optimize performance techniques for Linux?AI-generated

What are the best MySQL optimize per­for­mance tech­niques for Linux?

The per­for­mance of a MySQL or MariaDB database sig­nif­i­cant­ly impacts ap­pli­ca­tion speed. With the right op­ti­miza­tions, queries can be ac­cel­er­at­ed, resources used more ef­fi­cient­ly, and bot­tle­necks avoided. This article guides you step-by-step on how to optimize MySQL/MariaDB on a…

Read more
Image: How to fetch data with PHP mysqli_query?Virrage Imagesshut­ter­stock

How to fetch data with PHP mysqli_query?

PHP is designed to integrate easily into a website. One of the most common uses of PHP is to fetch content from a database and display it on an HTML page. This tutorial covers con­nect­ing to a MySQL/MariaDB database, re­triev­ing in­for­ma­tion from a simple table with `PHP…

Read more
Image: How to fix “error establishing a database connection” in MySQL/MariaDBOllyyshut­ter­stock

How to fix “error es­tab­lish­ing a database con­nec­tion” in MySQL/MariaDB

The “error es­tab­lish­ing a database con­nec­tion” often blocks access to websites and ap­pli­ca­tions using MySQL or MariaDB. Our article provides a step-by-step guide to iden­ti­fy­ing and fixing the cause. Learn how to check cre­den­tials, reset passwords, and test con­nec­tions from the…

Read more
Image: How to connect a MySQL/MariaDB database to a Linux cloud server with PHPOleksiy Markshut­ter­stock

How to connect a MySQL/MariaDB database to a Linux cloud server with PHP

By con­nect­ing MySQL to a Linux server, you can link your database with a Linux cloud en­vi­ron­ment. In this article, we’ll show you how to do it step by step: from creating a test database and accessing it via a PHP script to querying data. You’ll also find trou­bleshoot­ing tips for…

Read more
Image: How to reset MySQL/MariaDB root passwordREDPIXEL.PLshut­ter­stock

How to reset MySQL/MariaDB root password

For­get­ting the root password in MySQL or MariaDB doesn’t need to become a serious issue. By following the right steps, you can reset a MySQL/MariaDB root password quickly and easily at any time. This dedicated guide walks you step by step through both methods and points out what…

Read more