Menu

Articles

How to use the MySQL DATE_FORMAT() function

The DATE_FORMAT() function in MySQL is used to format a date value based on a specified date/time format string. This allows formatting dates in different ways.

How to Install MariaDB on Ubuntu 22.04

Install and verify MariaDB from Ubuntu 22.04 (Jammy Jellyfish)’s APT repositories, enable the service, and create a database user.

MySQL DATE() 用法与实例

The DATE() function in MySQL is used to extract the date part from a datetime expression. It returns the date in ‘YYYY-MM-DD’ format.

How to Install MariaDB on Ubuntu 20.04 (Legacy Guide)

Legacy MariaDB installation guide for Ubuntu 20.04 Focal. Standard support ended in May 2025; Ubuntu Pro ESM may cover existing hosts through 2030.

How to use the MySQL DATE_ADD() function

The DATE_ADD() function in MySQL is used to add a time/date interval to a date and return a new date. It is an alias for the ADDDATE() function.

How to Install MariaDB on Ubuntu 18.04 (Legacy Guide)

Legacy MariaDB installation guide for Ubuntu 18.04 Bionic. Standard support ended in May 2023; Ubuntu Pro ESM may cover existing hosts through 2028.

How to use the MySQL CURTIME() function

The CURTIME() function in MySQL returns the current time in ‘HH:MM:SS’ format. It is useful for inserting and comparing against the current time.

How to Install MariaDB on Rocky Linux 9: A Step-by-Step Tutorial

Install MariaDB on Rocky Linux 9 with DNF, secure the service, and create a least-privilege database account.

How to use the MySQL CURRENT_TIMESTAMP() function

The CURRENT_TIMESTAMP() function in MySQL returns the current date and time as a timestamp value. It is useful for inserting records with the current timestamp.

How to Install MariaDB on Rocky Linux 8: A Step-by-Step Tutorial

Install MariaDB on Rocky Linux 8 with DNF, enable and secure the service, and create a restricted application user.