Professional Documents
Culture Documents
Learning objectives:
Learn how to create empty database
Learn how to show available databases
Learn how to use a database
Learn how to delete a database
Learn how to create a database from script file
Learn how to show tables in a database
Learn how to list columns in a table
Show the databases that you currently have access to and see that “Lab1” database is no longer
available:
mysql> SHOW DATABASES;
Copy the script file into the directory C:\. If your files are located in a different directory then use
the full path accordingly. Also notice that no semicolon is used at the end of statement.
Show the databases that you currently have access to and see that “Northwind” database is
available:
mysql> SHOW DATABASES;