2 database setup, 3 mysql odbc connection, 2 database setup 5.3 mysql odbc connection – Rice Lake MSI-8000 RF Remote Display - ScaleCore 2 Database Program (Sc2Db) User Manual
Page 10

6 ScaleCore 2 Database Operator’s Manual
5.2 Database Setup
The Sc2Db application requires a single schema named
scalecoreprinter
with a single table. The “create statement”
for the table is shown below:
CREATE TABLE `scprint` (
`id` int(10) unsigned NOT NULL,
`weight` double(12,6) NOT NULL,
`weightstring` varchar(12) NOT NULL,
`mode` varchar(8) NOT NULL,
`units` varchar(8) NOT NULL,
`captureTimeStamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE
CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
Figure 5-1. MySQL Workbench 6.0 CE
5.3 MySQL ODBC Connection
1. Start the ODBC Data Source Administrator.
- Access
Control Panel
- Select
System and Security
followed by
Administrative Tools
- Select the shortcut for
Data Sources (ODBC)
- For 64-bit systems, you may have to access: C:\Windows\SysWOW64\odbcad32.exe
- A dialog similar to Figure 5-2 should display.