- Download the zipped file:
shell> wget 'https://codeload.github.com/datacharmer/test_db/zip/master' -O master.zip
- Unzip the file:
shell> unzip master.zip
- Load the data:
shell> cd test_db-mastershell> mysql -u root -p < employees.sqlmysql: [Warning] Using a password on the command line interface can be insecure.INFOCREATING DATABASE STRUCTUREINFOstorage engine: InnoDBINFOLOADING departmentsINFOLOADING employeesINFOLOADING dept_empINFOLOADING dept_managerINFOLOADING titlesINFOLOADING salariesdata_load_time_diffNULL
- Verify the data:
shell> mysql -u root -p employees -Amysql: [Warning] Using a password on the command line interface can be insecure.Welcome to the MySQL monitor. Commands end with ; or \g.Your MySQL connection ...