MySQL Installation Employees DB

Source: Internet
Author: User

The steps are as follows:

First, download

Address: https://launchpad.net/test-db/employees-db-1/1.0.6

Second, decompression

Unzip the downloaded files and store them in any directory, but for convenience, it is recommended to place them in a shorter path, and mine is placed in: E:\employees_db

Third, modify the contents of the import file

Using WordPad, open the contents of the Employees.sql in the previous folder, starting with the 38th line as follows:

   Set storage_engine = innodb;--Set storage_engine = myisam;--Set storage_engine = falcon;--Set storage_engine = PBXT;-- Set storage_engine = Maria;select CONCAT (' Storage Engine: ', @ @storage_engine) as INFO;

Modify the following method to comment out the above 2 places without comments

--Set storage_engine = innodb;--Set storage_engine = myisam;--Set storage_engine = falcon;--set storage_engine = PBXT; --Set storage_engine = maria;--Select CONCAT (' Storage Engine: ', @ @storage_engine) as INFO;

Also change one place

Change all of the above paths to local full path

Iv. entering MySQL via cmd

Perform the installation action

SOURCE plus the full path where Employees.sql is located

After installation, you can find

There are 6 associations in the database, and the recorded data is the payroll for all employees in 9 departments of a company, including turnover employees, and the following is a diagram.

MySQL Installation Employees DB

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.