Search for:

MySQL Commands

Connect to a MySQL server: mysql -u username -p Replace “username” with your MySQL username. You’ll be prompted for your MySQL password. Show a list of all databases: SHOW DATABASES; Create a new database: CREATE DATABASE database_name; Replace “database_name” with the name you want to give your new database. Use [...]