Getting Started with ODM 1.1 for MySQL

Similar documents
Getting Started with ODM

LABSHEET 1: creating a table, primary keys and data types

Remote Desktop Web Access. Using Remote Desktop Web Access

Installation Guidelines (MySQL database & Archivists Toolkit client)

COGNOS REPORTING SYSTEM USER GUIDE

THE CHILDREN S HEALTH NETWORK CONTRACTING TOOL TRAINING MANUAL

NEW IR DATA WAREHOUSE

How to Setup and Connect to an FTP Server Using FileZilla. Part I: Setting up the server

Initial Setup of Microsoft Outlook with Google Apps Sync for Windows 7. Initial Setup of Microsoft Outlook with Google Apps Sync for Windows 7

Lab: Data Backup and Recovery in Windows XP

Monitoring Oracle Enterprise Performance Management System Release Deployments from Oracle Enterprise Manager 12c

March Module 3 Processing MOVES Output

Lab - Data Backup and Recovery in Windows XP

How to Login Username Password:

Computer Science and Engineering MacOS Cisco VPN Client Installation and Setup Guide

Upgrading MySQL from 32-bit to 64-bit

Personal Geodatabase 101

Getting Started using the SQuirreL SQL Client

CLC Bioinformatics Database

Citrix Client Install Instructions

What is a Mail Merge?

Tool-Assisted Knowledge to HL7 v3 Message Translation (TAMMP) Installation Guide December 23, 2009

Appendix A How to create a data-sharing lab

How do I use Citrix Staff Remote Desktop

Database Studio is the new tool to administrate SAP MaxDB database instances as of version 7.5.

Getting Started with Crystal Reports Session Description:

The Reprographics Online E-Copy Process is used to submit print jobs to the RUSD Reprographics department.

The Peer Reviewer s Guide to Editorial Manager

Cognos 10 Getting Started with Internet Explorer and Windows 7

What is OneDrive for Business at University of Greenwich? Accessing OneDrive from Office 365

MSSQL quick start guide

Tool Tip. SyAM Management Utilities and Non-Admin Domain Users

Database Forms and Reports Tutorial

Initial Setup of Microsoft Outlook 2011 with IMAP for OS X Lion

Abstract. For notes detailing the changes in each release, see the MySQL for Excel Release Notes. For legal information, see the Legal Notices.

MySQL Quick Start Guide

Jolly Server Getting Started Guide

Business Intelligence Overview. BW/BI Security. BW/BI Architecture. Business Explorer (BEx) BW/BI BEx Tools Overview. What is BEx?

Transferring Your Hosting Account

User guide. Business

Implementing Microsoft SQL Server 2008 Exercise Guide. Database by Design

Submitting a Claim in New MIPS Homeless Children Nutrition Program single-site

Fax User Guide 07/31/2014 USER GUIDE

Introduction. Office of Web and New Media Missouri State University 901 S. National Ave. Springfield, MO 65897

1. Right click using your mouse on the desktop and select New Shortcut.

Business Vehicle Tracking USER MANUAL

1. Open the preferences screen by opening the Mail menu and selecting Preferences...

TAMUS Remote Desktop Setup For BPP SQL & Alva

Specops Command. Installation Guide

Using Remote Web Workplace Version 1.01

Word 2010: Mail Merge to with Attachments

How To Create An Easybelle History Database On A Microsoft Powerbook (Windows)

Submitting a Claim in New MIPS Sponsor of Day Care Homes (more detailed instructions found in back of document)

TSM for Windows Installation Instructions: Download the latest TSM Client Using the following link:

Netezza Workbench Documentation

Guide to the MySQL Workbench Migration Wizard: From Microsoft SQL Server to MySQL

Using SQL Server Management Studio

Using Outlook Web Access

Frequently Asked Questions

How To Use Databook On A Microsoft Powerbook (Robert Birt) On A Pc Or Macbook 2 (For Macbook)

Pharmacy Affairs Branch. Website Database Downloads PUBLIC ACCESS GUIDE

Installing and Using No Machine to connect to the Redhawk Cluster. Mac version

Mobitalker User Guide (Symbian)

Quick Start Guide. Installation and Setup

Getting Started with Mplus Version 7.31 Demo for Mac OS X and Linux

1. Open the preferences screen by opening the Mail menu and selecting Preferences...

OpenVPN over SSH tunneling

Mapping ITS s File Server Folder to Mosaic Windows to Publish a Website

SunGard Banner Documentation

CONTENTS MANUFACTURERS GUIDE FOR PUBLIC USERS

Migrating to Azure SQL Database

CONTACTS SYNCHRONIZER FOR IPAD USER GUIDE

Overview... 2 How to Add New Documents... 3 Adding a Note / SMS or Phone Message... 3 Adding a New Letter How to Create Letter Templates...

1. Tutorial Overview

TRIM: Web Tool. Web Address The TRIM web tool can be accessed at:

Downloading and Installing Core FTP

At the end of this lesson, you will be able to create a Request Set to run all of your monthly statements and detail reports at one time.

TECHNICAL NOTE. The following information is provided as a service to our users, customers, and distributors.

Installing Remote Desktop Connection

TxEIS on Internet Explorer 7

Generating Open For Business Reports with the BIRT RCP Designer

TSM Studio Server User Guide

NSi Mobile Installation Guide. Version 6.2

Protus Virtual Fax Send Fax Plug-in Installation and User Guide

Outlook Express POP Instructions - Bloomsburg University Students

HOW TO SILENTLY INSTALL CLOUD LINK REMOTELY WITHOUT SUPERVISION

McAfee SIEM Alarms. Setting up and Managing Alarms. Introduction. What does it do? What doesn t it do?

Introduction to Microsoft Access 2003

Mariemont City Schools

College of William and Mary. wmfiles.wm.edu. A Reference and Training Guide

Initial Setup of Mozilla Thunderbird with IMAP for OS X Lion

ECT362 Installing Linux Virtual Machine in KL322

TAMUS Terminal Server Setup BPP SQL/Alva

From Data Modeling to Data Dictionary Written Date : January 20, 2014

Nintex Workflow 2010 Installation Guide. Installation Guide Nintex USA LLC, All rights reserved. Errors and omissions excepted.

GETTING STARTED WITH SQL SERVER

Nipper Studio Beginner s Guide

2. Unzip the file using a program that supports long filenames, such as WinZip. Do not use DOS.

Initial Setup of Mac Mail with IMAP for OS X Lion

Transcription:

Getting Started with ODM 1.1 for MySQL Instructions for Creating a Blank ODM 1.1 Database Within an Instance of MySQL Jeffery S. Horsburgh 1 8-25-2011 Introduction This document describes how to create a blank ODM 1.1 database within your instance of MySQL so you can get started using ODM. In order to do so, you must be running a version of MySQL. These instructions are written using a product called MySQL Workbench installed on a Windows 7 machine. MySQL Workbench is a cross-platform, visual database design tool developed by MySQL. MySQL Workbench is available as a native GUI tool on Windows, Linux, and OS X in different editions and is available for free download at http://wb.mysql.com/. You will also need to download the MySQL dump file, which is a SQL script that creates the ODM schema within a blank MySQL database. You can download the required script file at http://his.cuahsi.org/odmdatabases.html. Creating a Blank Database The general process for creating an ODM database within MySQL involves creating a new empty database schema and then using the ODM MySQL dump file, which is a SQL script, to create the tables, relationships, constraints, etc. of ODM within the empty MySQL database. The following are the steps required to create a new blank database within which you can create your ODM schema: 1. Open MySQL Workbench by clicking Start --> All Programs --> MySQL --> MySQL Workbench. The following window will open: 1 Utah Water Research Laboratory, Utah State University, Logan, UT 84322-8200, jeff.horsburgh@usu.edu 1

2. Under the SQL Development area, make sure the correct instance of MySQL is selected - i.e., the instance within which you want to create the database. For this example we will use "Local instance MySQL." 3. Right click on the "Local instance MySQL" instance in the list and select "Query Database" from the context menu. The following window will open: 2

4. Enter your password and click the "OK" button to continue. Your MySQL Workbench window will now look something like the following: 5. Right click within the Object Browser at the left of the window and select "Create Schema" from the context menu. 6. On the window that pops up, specify a name for your new database schema in the "Name" text box (for this example I have called my new schema "ODMDatabase") and then click the "Apply" button at the bottom of the form. 3

7. Another window will pop up summarizing the SQL Script that will create the database. Click the Apply button, and then click the "Finish" button 8. You will now notice that a new database has appeared in the Object Browser within the MySQL Workbench. 4

9. The next step is to execute the SQL script that will create all of the ODM tables, relationships, constraints, etc. In MySQL Workbench, click the "File" pull down menu and select "Open SQL Script." A file browser will open. Navigate to the ODM SQL script, select it in the file browser, and then click the "Open" button. 10. You will notice that the script has now been opened in the SQL Editor in MySQL Workbench. 5

11. Next, you need to select your new blank database so that the commands in the script will target your new database. At the top of the "Object Browser", click the pull down box next to the "Default" label and select your blank database (in this example, the "odmdatabase" that we just created). 12. Click the execute button on the toolbar (the lightening bolt icon) to execute the script. You will notice at the bottom of the MySQL Workbench window that the progress of the script commands is shown. 13. When the script has finished, you can right click on the database name in the Object Browser and select "Refresh All". You will then be able to expand the "Tables" folder under the database to see the ODM tables that have been added to your database. 6

14. Although there is no data in your blank ODM database, you can view the contents of the controlled vocabulary tables in your database by right clicking on them in the Object Browser and choosing Select Rows - Limit 1000 from the context menu. The contents of the table will be shown in the "Output" area at the bottom of the MySQL Workbench window. 15. Congratulations! You now have a blank ODM database in your instance of MySQL and you can start loading data. 7