MariaDB

Image: How to choose a database using SELECT DATABASE in MariaDBsakkmester­keshut­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…

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­term­ines the maximum size a single data packet can be during com­mu­nic­a­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 spe­cific­ally…

Read more
Image: How to save an HTML form to a MySQL databaseGoroden­koffshut­ter­stock

How to save an HTML form to a MySQL database

A PHP script offers a simple and effective way to take in­form­a­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 Misir­ligulshut­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­ciently storing and managing struc­tured data. This com­pre­hens­ive step-by-step guide explains how to install MySQL and how to install MariaDB on various Linux dis­tri­bu­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­plic­a­tions if there are too many sim­ul­tan­eous 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: How to optimise MySQL/MariaDB performance on a Linux serverAI-generated

How to optimise MySQL/MariaDB per­form­ance on a Linux server

The per­form­ance of a MySQL or MariaDB database sig­ni­fic­antly impacts ap­plic­a­tion speed. With the right op­tim­isa­tions, queries can be ac­cel­er­ated, resources used more ef­fi­ciently, and bot­tle­necks avoided. This article guides you step-by-step on how to optimise 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­form­a­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­plic­a­tions using MySQL or MariaDB. Our article provides a step-by-step guide to identi­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­vir­on­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 troubleshoot­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