MySQL for Windows. Tak Auyeung. September 7, 2003

Similar documents
Connecting BioNumerics to MySQL

RELAIS. Installation Guide in Windows Environment

Infotek Solutions Inc.

Installing SQL Server Developer Last updated 8/28/2010

New Dropbox Users (don t have a Dropbox account set up with your Exeter account)

Archivists Toolkit Internal Database

Installation of Microsoft SQL Server 2012 Setup MwPharm++ database

Working with SQL SERVER EXPRESS

Note: - the OS on which you will install VirtualBox is called the host OS. - the OS you will install on VirtualBox (later) is called the guest OS.

Migrating to MIL-Comply SQL Server Edition

IceWarp Server Windows Installation Guide

AppWizard Installation/Upgrade Guide (v.4.00)

TxEIS on Internet Explorer 8

Attaching Codesoft 6 to an ODBC Database

The QuickCalc BASIC User Interface

Version S Cincinnati, Suite 105 Tulsa, OK (918) Fax (918)

LiveNX Upgrade Guide from v5.1.2 to v Windows

Installation Instructions for SAFARI ODBC

Setting up a database for multi-user access

User Guide MapRoad 2.3 Install Guide Windows 7

New Dealership TeamDesign Installation Instructions

Print Station. Point-and-Click Printing WHITE PAPER

Windows 95/98 Infoway Connection Instructions 1/4/2002; rev. 1/9/2002

How to Install CFAR CFAR is an ad-hoc report writer that allows you to report on data that resides in your LabTech and Connectwise databases.

Release Date September 30, Adeptia Inc. 443 North Clark Ave, Suite 350 Chicago, IL 60654, USA

CIS 231 Windows 10 Install Lab # 3

WhatsUp Gold 2016 Installation and Configuration Guide

How to install the software of ZNS8022

Upgrade Tool Guide. July

RM Integris MLS Connect Installation Procedure (Eclipse2; Junior3; Eclipse.NET; Junior.NET) PLEASE DO NOT OPEN YOUR CSV FILE IN EXCEL!

Oracle SOA Suite VirtualBox Appliance. Introduction and Readme

IceWarp Unified Communications. Installation Guide. Version 10.4

Windows Backup Server Installation

BLACKBERRY WIRELESS DATABASE VIEWER USER GUIDE PRODUCT VERSION: 1.0

Creative assets management. MySQL Install Guide

Eclipse Environment Setup

This video is part of the Microsoft Virtual Academy.

VERTECH. VERTECH Central Station Software Installation Manual

InterActive SyslogViewer Adiscon GmbH

LiveNX Upgrade Guide from v5.2.0 to v5.2.1

You might think of Windows XP as a set of cool accessories, such as

Release Date March 10, Adeptia Inc. 443 North Clark Ave, Suite 350 Chicago, IL 60610, USA Phone: (312)

Fire Behaviour Knowledge Base Installation

KVM Console. KVM Console

Windows 2000 Safe Mode

MassTransit 6.0 Installation Guide for Enterprise and Professional Servers on Macintosh

ISCSI CAKE (CCDISK) USER MANUAL

Acronis Backup & Recovery 11 Beta Advanced Editions

Reset the Admin Password with the ExtraHop Rescue CD

29 March 2017 SECURITY SERVER INSTALLATION GUIDE

HR-Lite Installation & Online Registration Guide. Version: HR21 Limited

January 2015 SPIDER 2j Full Install & Update

Crystal Enterprise. Overview. Contents. Upgrading CE8.5 to CE10 Microsoft Windows

FireFox. CIS 231 Windows 10 Install Lab # 3. 1) Use either Chrome of Firefox to access the VMware vsphere web Client.

OnBase ver Thick Client Installation Instructions. Install Microsoft SQL Server 2012 Native Client

Installing the Is2 Onsite Version - HVAC Office System

Introduction to the Database functionality. Revision 1.3, 12 September by empolis knowledge management GmbH

QUICKSTART GUIDE: THE ATTIVIO PLATFORM

SecureGuard VMS. SecureGuard All-In-One Quick Install Guide V. 2.5

APPENDIX B: INSTALLATION AND SETUP

FmPro Migrator. FileMaker to FileMaker 7 Quickstart Guide. .com Solutions Inc. Overview. Step 1.

Get VirtualBox. VirtualBox/Ubuntu Setup. Go to and select Downloads.

Log Server Configuration Utility

Quick Guide to Installing and Setting Up MySQL Workbench

In this tutorial we will discuss different options available in the Options tab in EMCO Network Inventory 4.x.

Creating an ODBC Data Source for Pervasive.SQL

Step-by-step guide for the libradtran virtual machine. A) Installation

INSTALLATION AND USER S GUIDE OfficeCalendar for Microsoft Outlook

Optional Lab. Identifying the Requirements. Configuring Windows 7 with virtualization. Installing Windows Server 2008 on a virtual machine

EasyLobby Database Setup EasyLobby Family of Products Version 10.0

Select the Akeni Pro Server installation file that matches your operating system and double-click on the file.

National Fire Incident Reporting System (NFIRS 5.0) Configuration Tool User's Guide

Version 6.3 Upgrade Guide

STATISTICA VERSION 10 STATISTICA MONITORING AND ALERTING SERVER (MAS) INSTALLATION INSTRUCTIONS

DICOM Services using Orthanc And Beth Israel Plugins for Fiji

ODBC Connectivity Migration Steps. Deltek Product Management

Lab - Data Migration in Windows

Revelation ODBC Driver for OpenInsight. Installation Instructions

Genium INET. Clearing Workstation (CW1) Installation Guide. NASDAQ OMX Nordic. Version:

Easy Windows Working with Disks, Folders, - and Files

Starting ParTEST. Select Start, Programs ParTEST ParTEST Enter your User Name and password

Painless Linux Experimentation

Virtual CD TS 1 Introduction... 3

Windows XP. A Quick Tour of Windows XP Features

A mandatory user profile is created by an administrator and assigned to one or more users to create a consistent user profile.

Installation Guide: VirtualBox, Windows 10, and Microsoft Visio (Mac OS)

Getting Started. Citrix Load Manager. Version 1.0. Citrix Systems, Inc.

Currently, ADBC is a Windows only feature and requires Open Database Connectivity (ODBC) provided by Microsoft.

Computer Setup Guide for SEC301

Creating a Windows Server 2012 R2 virtual instance Maher Saad, Chestnut Residence, University of Toronto

Installing and Configuring Citrix XenApp 6.5 (Part 1)

DS2 Support. DS2 / inet System Installation Scenario 2. Scenario 1: - Windows 2003 Server - Utilizing an External SQL Server

TECHNICAL NOTES NETWORK CD/DVD SERVERS. AXIS StorPoint CD Servers. CD Recording. Created: December 8, 2000 Last updated: December 8, 2000 Rev: 1.

StarWind iscsi SAN Software: Getting Started with V5

Before installing tmsintranet, the following requirements must be met:

IT 341 Introduction to System Administration Project I Installing Ubuntu Server on a Virtual Machine

Network Server Suite. v10.3 Installation Guide

ROCK-POND REPORTING 2.1

CSCI 201 Lab 1 Environment Setup

SWCS 4.2 Server Manager Users Guide Revision /22/2012 Solatech, Inc.

Transcription:

MySQL for Windows Tak Auyeung September 7, 2003 1 Getting it Go to http://www.mysql.com for general information. To make your life easier, you can get most of the files on a CD (so you can install it easily on another computer). I assume you have a CD with all the installation files. If you don t have one handy, I have an ISO image that you can use. Email mailto:mobots@mobots.com so I can point you to the whereabouts of this ISO image. 1.1 Installing the database server Install MySQL (the database server) first. Double click on the Setup icon with the installer icon to start this process. Refer to figure 1 for a screen-shot. Follow the prompt and accept defaults settings. At the end of this process, you should see the screen in figure 2. At this point, you don t really know whether it works or not. You can use a command line prompt (otherwise known as a DOS box) to test the installation. Click the Start button, then select run, type command in the dialog box and click Okay. In the DOS box, issue the following commands: c: cd \mysql\bin mysqld --console This should start the MySQL server the first time. It ll initialize many files, and end with a screen similar to figure 3. At this point, the database server is already running! Don t stop it, it is normal that the DOS box appears to have hung up. 1.2 Installing the ODBC Driver In order to let most other applications (including Microsoft Access) access your MySQL databases, you need to install the ODBC (Open DataBase Connection) driver. Double-click on the MyODBC... icon on the installation CD as displayed in figure 4. 1

Figure 1: Install MySQL, double-click the Setup icon. After the installation, you should the screen as illustrated in figure 5. 1.3 Installing the MySQL Control Center Although you technically have everything necessary at this point, it is best to install the Control Center as well. This is a GUI application that allows you to perform administrative functions without having to resort to SQL queries. On the installation CD, go to the folder labeled mysqlcc, then click on the Setup item with the software installation icon as illustrated in figure 6. Accept all the defaults and install the software. At the end of the installation process, you should see a screen similar to figure 7. On your desktop, you should see a shortcut labeled MySQL Control Center. Double click to start it. If all is successful, you should see a screen similar to figure 8. 2

2 Admin. Stuff Figure 2: End of the installation of MySQL. 2.1 Creating a new database using Control Center Right click on Databases and select New Database. Refer to figure 9 for reference. Give the database a name and click Okay. Right click on the new database, then select Connect so the database icon turns green. Once a database is connected, you can right click on Tables and select New Table to create a new table. The table creation screen should be fairly self explanatory. 2.2 Creating a new ODBC entry Once a database is created, you can define an ODBC entry for it. To do this, click the Start button, then select Settings and Control Panel (refer to figure 10). Then, double click on the item labeled ODBC Data Sources (32bit). You should see a screen similar to figure 11. Press the Add button, then select MySQL ODBC 3.51 Driver from the driver list. Refer to figure 12 for more details. 3

Figure 3: Screen after running mysqld the first time. In the DSN configuration dialog box, you can use any name as Data Source Name, it is merely used to identify the data source. However, the Database Name must match the name of the database that you just created in Control Center. Do not specify any directory. Enter root as User and leave Password empty (unless you have already set up a password for root). Refer to figure 13 for a sample screen. Click on the button labeled Test Data Source. If everything is done right, you should see a message saying Data Source My Own Test Connected Successfully to mysqld-4.0.14-max-debug!!!. Of course, your message may differ depending on your version of MySQL and the name of the database. Press Okay buttons to exit all the way out to Windows. 3 Using MySQL databases from Access In Access, select File and then Open. Click on Files of type and select ODBC Databases (refer to figure 14 for more details). Then, in the Select Data Source dialog box, switch to the Machine Data Source tab. Select the database you wish to use and click OK. Refer to figure 15 for a sample screen. If all goes well, you will see a dialog box displaying all the tables in the 4

Figure 4: Start to install the ODBC driver for MySQL. selected database. Select the ones you need, or simply click Select All to have everything selected. Then, click OK to continue. You may need to choose a field that is unique if a table has no primary key. Once tables are added, you should see these special tables with a special globe icon in the table list like in figure 16. For the most part, you can use an ODBC linked table as a normal table. However, the design of such a table cannot be modified in Access. Instead, use Control Center to alter the design of a table. 4 Starting and Stopping MySQL Because the MySQL server is a special process, you should be careful about the starting up and shutting down of it. The best way to shut it down is to click the Start button, select Run and just type the following: c:\mysql\bin\mysqladmin shutdown This will shutdown the server properly. It make take a little bit of time because there can be a lot of cached operations not written to the hard disk. 5

Figure 5: End of the installation of the ODBC driver for MySQL. You can set up a shortcut to start up MySQL and another one to shut it down. The Command line for the start up shortcut should be c:\mysql\bin\mysqld The Command line for the shut down shortcut should be c:\mysql\bin\mysqladmin shutdown If you place the start up shortcut inside the StartUp folder (under Programs, under Start Menu), then MySQL starts up every time you log in. Unfortunately, there is no easy way to ensure a proper shutdown when you log out. It is best to start up and shut down MySQL manually, especially if you are the only user. An alternative is to rely on winmysqladmin to start up and shutdown MySQL. You can use the Start Run approach and type in c:\mysql\bin\winmysqladmin, or set up a shortcut to it. Shortly after winmysqladmin starts up, it becomes an icon in the systems icon area (that looks like a traffic light). You can right click on the icon, select your OS, then click on ShutDown Both to stop both the administrative tool and the server. 6

Figure 6: Install the Control Center. 7

Figure 7: End of the Control Center installation. 8

Figure 8: MySQL Control Center screen. 9

Figure 9: Creating a new database in Control Center. 10

Figure 10: Starting Control Panel. 11

Figure 11: ODBC Data Sources Administractor screen. 12

Figure 12: Choose MySQL ODBC driver. 13

Figure 13: Dialog box to configure a new MySQL data source. 14

Figure 14: Choose ODBC Databases when opening a database in Access. 15

Figure 15: Select a data source from Machine Data Source. 16

Figure 16: An ODBC linked table in the list of tables. 17