LAMP on Linux 22.04 December 30, 2024
Antre du Tryphon
Search

LAMP on Linux 22.04

December 30, 2024 · admin Ubuntu Linux Debian MySQL PHP apache Database
This post contains notes to install Apache2, MySQL and PHP on a Ubuntu Server 22.04. This is not a tutorial but a checklist.

MySQL client does not use the port parameter

September 14, 2024 · admin MySQL Database
It will happen if you use localhost as the server address. The client will then use the Unix sockets. Use 127.0.0.1 instead. This issue is common when using SSL tunnels.

Get the MySQL database schema using SQL

August 24, 2024 · admin MySQL Database
A complete database schema can be retrieved using the following MySQL statement from the information\_schema database:

Move and secure the MySQL data directory

May 28, 2016 · admin Ubuntu Linux MySQL
By default, the data directory of MySQL is /var/lib/mysql. This can be a security issue, especially on a laptop. If your home directory is encrypted, you can easily secure you MySQL data. Backup you data before using this information. Read the procedure until the end before doing anything. First, follow these steps to move the data directory of MySQL.

Tomcat and MySQL benchmarks

November 18, 2011 · admin Tomcat MySQL
Benkmarks made using a Tomcat and a MySQL database. These figures are provided to give you an idea of the performance you should expect. The tests were done in the following conditions: