To check the MariaDB version in XAMPP (LAMPP), you can use one of the following commands:
1. Using the Command Line (mysql
CLI)
Open a terminal and run:
/opt/lampp/bin/mysql -V
or
/opt/lampp/bin/mysql --version
2. Using MySQL Client
Run the following command:
/opt/lampp/bin/mysql -u root -p
Enter the password (leave it blank if using the default), then execute the following SQL command:
SELECT VERSION();
3. Using phpMyAdmin
- Open
http://localhost/phpmyadmin
- Check the "Database Server" section; the MariaDB version information is usually displayed there.
0 Comments