티스토리 뷰



Creating MySQL database through terminal 




When your root password is generated

/usr/local/mysql/bin/mysql -uroot -p

When the password is not generated

/usr/local/mysql/bin/mysql -uroot


Enter your mysql password 



To check your databases

SHOW DATABASES;

To create a database

CREATE DATABASE 'the name of database';

To check the created database

SHOW DATABASES;

To quit

QUIT;


'Programming' 카테고리의 다른 글

DataGrip serverTimezone Error  (0) 2019.08.12
MySQL commands  (0) 2019.07.31
git commands  (0) 2019.03.07
MVC pattern  (0) 2019.03.04
Static URL & Dynamic URL  (0) 2019.02.28