...
- Install the MySQL server.
- Download the JDBC driver for MySQL from here and copy it to your
<DSS_HOME>/repository/components/lib
directory. - Set up a database for storing information of offices:
Create a database called OfficeDetails.:
CREATE DATABASE OfficeDetails;
Create the Offices table:
Code Block USE OfficeDetails; CREATE TABLE `OFFICES``Offices` (`OfficeCode` int(11) NOT NULL, `AddressLine1` varchar(255) NOT NULL, `AddressLine2` varchar(255) DEFAULT NULL, `City` varchar(255) DEFAULT NULL, `State` varchar(255) DEFAULT NULL, `Country` varchar(255) DEFAULT NULL, `Phone` varchar(255) DEFAULT NULL, PRIMARY KEY (`OfficeCode`));
- Set up a database for storing information of employees:
- Create a database called EmployeeDetails.:
CREATE DATABASE EmployeeDetails;
Create the Employees table:
Code Block USE EmployeeDetails; CREATE TABLE `EMPLOYEES``Employees` (`EmployeeNumber` int(11) NOT NULL, `FirstName` varchar(255) NOT NULL, `LastName` varchar(255) DEFAULT NULL, `Email` varchar(255) DEFAULT NULL, `JobTitle` varchar(255) DEFAULT NULL, `OfficeCode` int(11) NOT NULL, PRIMARY KEY (`EmployeeNumber`));
- Create a database called EmployeeDetails.:
...