MYSQL on windows¶
console¶
mysqld -u root
to start server, make sure mysql\bin folder is added to the pathmysql -u root
to start interactive consoleshow databases;
to display all databases for the logged-in usercreate schema <DB_NAME>
to create a new database.use <DB>
to select a database.