User Tools

Site Tools


create_mysql_database

This is an old revision of the document!


Create MySQL Database


Here are a few useful MySQL commands you can run from the command line, handy if you have installed MySQL and you don't have desktop access or a graphical MySQL manager application.

Login to MySQL First we must login
mysql -u root -p — (the root part assumes root is your mysql username)

Create a MySQL Database
CREATE DATABASE new_database; — (don't forget the semicolon ; it's really important)

Show a MySQL Database
SHOW DATABASES;


create_mysql_database.1469445734.txt.gz · Last modified: 2023/03/09 22:35 (external edit)