MySQL Tutorial
MySQL Installation and Configuration
MySQL Database Operations
Database Design
MySQL Data Types
MySQL Storage Engines
MySQL Basic Operations of Tables
MySQL Constraints
MySQL Operators
MySQL Function
MySQL Manipulate Table Data
MySQL View
MySQL Indexes
MySQL Stored Procedure
MySQL Trigger
MySQL Transactions
MySQL Character Set
MySQL User Management
MySQL Database Backup and Recovery
MySQL Log
MySQL Performance Optimization
SHOW DATABASES;
, to display the current database list, as shown in the figure. Verify MySQL installation on Linux:
dpkg -l | grep mysql
How to check MySQL installation status:
sudo service mysql status
Test MySQL installation on Windows:
mysql --version
Confirm MySQL installation on macOS:
brew list | grep mysql
MySQL installation check commands:
which mysql mysql --version cat /etc/mysql/my.cnf
Verify MySQL service status:
systemctl status mysql
Check MySQL version after installation:
mysql --version
Troubleshoot MySQL installation issues:
tail /var/log/mysql/error.log
MySQL post-installation checks:
mysql_secure_installation
Command to check if MySQL is running:
ps aux | grep mysql