Anda di halaman 1dari 39

Toad for MySQL 7.

Installation Guide
2015 Dell Inc.
ALL RIGHTS RESERVED.

This guide contains proprietary information protected by copyright. The software described in
this guide is furnished under a software license or nondisclosure agreement. This software
may be used or copied only in accordance with the terms of the applicable agreement. No
part of this guide may be reproduced or transmitted in any form or by any means, electronic
or mechanical, including photocopying and recording for any purpose other than the
purchasers personal use without the written permission of Dell Inc.

The information in this document is provided in connection with Dell products. No license,
express or implied, by estoppel or otherwise, to any intellectual property right is granted by
this document or in connection with the sale of Dell products. EXCEPT AS SET FORTH IN
THE TERMS AND CONDITIONS AS SPECIFIED IN THE LICENSE AGREEMENT FOR
THIS PRODUCT, DELL ASSUMES NO LIABILITY WHATSOEVER AND DISCLAIMS
ANY EXPRESS, IMPLIED OR STATUTORY WARRANTY RELATING TO ITS
PRODUCTS INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTY OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-
INFRINGEMENT. IN NO EVENT SHALL DELL BE LIABLE FOR ANY DIRECT,
INDIRECT, CONSEQUENTIAL, PUNITIVE, SPECIAL OR INCIDENTAL DAMAGES
(INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF PROFITS, BUSINESS
INTERRUPTION OR LOSS OF INFORMATION) ARISING OUT OF THE USE OR
INABILITY TO USE THIS DOCUMENT, EVEN IF DELL HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES. Dell makes no representations or warranties with
respect to the accuracy or completeness of the contents of this document and reserves the
right to make changes to specifications and product descriptions at any time without notice.
Dell does not make any commitment to update the information contained in this document.

If you have any questions regarding your potential use of this material, contact:

Dell Inc.
Attn: LEGAL Dept
5 Polaris Way
Aliso Viejo, CA 92656

Refer to our web site (software.dell.com) for regional and international office information.

Trademarks

Dell, the Dell logo, Quest, SQL Navigator, vWorkspace, and Toad are trademarks of Dell Inc.
and/or its affiliates. Microsoft, Windows, Windows Server, Windows Vista, Visual Studio,
SharePoint, Access and Excel are either registered trademarks or trademarks of Microsoft
Corporation in the United States and/or other countries. Oracle is a trademark or registered
trademark of Oracle and/or its affiliates in the United States and other countries. Citrix and
XenApp are trademarks of Citrix Systems, Inc. and/or one or more of its subsidiaries, and
may be registered in the United States Patent and Trademark Office and in other countries.
MySQL is a registered trademark of MySQL AB in the United States, the European Union
and other countries. Subversion is a trademark of the Apache Software Foundation. Other
trademarks and trade names may be used in this document to refer to either the entities
claiming the marks and names or their products. Dell disclaims any proprietary interest in the
marks and names of others.
Toad for MySQL 7.7
Installation Guide
Friday, October 30, 2015
Table of Contents
Installation 5
System Requirements 5
Client Requirements 5

Server Requirements 6

Virtualization Support 6

User Requirements 7

Install Toad 8
Specify Application Data Directory Location 8
Install Toad Silently 9
Determine Which Installer to Use 9

Silent Installation Prerequisites 10

Silent Installation Using the Executable 10

Silent Installation Using the Microsoft Installer 12

Install Toad on Citrix Systems 15


Upgrade Toad 16
Upgrade Automation Scripts and Scheduling Tasks 16
Upgrade Automation Scripts to Newer Version of Toad 16

Migrate Scheduling Tasks to Newer Version of Toad 17

Uninstall Toad 18
Licensing 19
Create and Troubleshoot Connections 20
Understand Toad Connections 20
Toad Open Connections 20

Sharing a Connection Among Windows 20

Create MySQL Connections 21


Troubleshoot MySQL Issues 22
Toad for MySQL Installation Guide 4
Table of Contents

Configure Version Control 24


About Version Control 24
Prerequisites 24

Version Control for Toad Files 25


Configure Version Control for Objects 28
Manage Objects under Version Control 30
Troubleshoot Version Control 33
Troubleshoot Upgrades 33

Troubleshoot Other Issues 33

About Dell 35
Contact Dell 35
Technical Support Resources 35
Toad Community 36

Index 37
1
Installation

System Requirements
Review the following client and database server requirements for Toad for MySQL.

Client Requirements
Before installing Toad, ensure that your client system meets the following minimum hardware
and software requirements:

Requirement Details

Platform 1 GHz minimum

Memory 512 MB of RAM minimum, 1 GB recommended


Note:The memory required may vary based on the following:
l Applications that are running on your system when using Toad
l Size and complexity of the database
l Amount of database activity
l Number of concurrent users accessing the database

Hard Disk 800 MB to install Toad


Space

Operating Windows Server 2008 R2 (64-bit)


System Windows 7 (32-bit or 64-bit)
Windows 8 (32-bit and 64-bit)
Windows 8.1 (32-bit and 64-bit)
Important: Toad uses the Microsoft Distributed Transaction
Coordinator (DTC) when opening a SQL file to get Full-Text Search
status, but DTC is disabled by default on Windows Vista, Windows
Server 2008 and Windows 7. If you are using either operating system,
ensure that Network DTC access is enabled on the Toad client. See
http://technet.microsoft.com/en-us/library/cc753510(WS.10).aspx for
more information about enabling DTC access.

.NET The Microsoft .NET Framework is required. The version is


Framework dependent on the operating system.
Toad for MySQL Installation Guide 6
Installation

Requirement Details

.NET 4.5 Windows Vista SP2, Windows 7, Windows 8,


Windows Server 2008 (SP2 or earlier), Windows
Server 2008 R2, Windows Server 2012

.NET 4.0 Windows XP, Windows Vista (SP1 or earlier),


Windows Server 2003
Notes:
l This information is provided to aid
installation. Toad is not tested on
Windows XP. Windows Vista (SP1 or
earlier), and Windows Server 2003.
l The .NET Framework 4 Client Profile is
not supported.

Additional Web Browser


Requirements Microsoft Internet Explorer 6.0 or later

Server Requirements
Before installing Toad, ensure that your server meets the following minimum hardware and
software requirements:

Requirement Details

Database MySQL 4.1, 5.0, 5.1,5.5, 5.6


Server
Clustrix 5.2
MariaDB 5.5.5

Cloud Toad can manage Amazon RDS and any other cloud or service
Database offering compatible with MySQL, including Amazon Aurora.
Service

Virtualization Support

Requirement Details

Application Limited testing has been performed for Citrix XenApp 5.0 on
Virtualization Windows Server 2003 and Citrix XenApp 6.5 on Windows Server
2008 R2.
Limited testing has been performed for Citrix support on Windows
Server 2003 Enterprise Server (Service Pack 2) using the MetaFrame
Presentation Server 5.0 and Citrix Presentation Server Clients 10.2.
Toad for MySQL Installation Guide 7
Installation

Requirement Details

See "Install Toad on Citrix Systems" (page 15) for more information.

Note: Toad may work in virtualization environments other than the ones in which it was
tested.

User Requirements

User Requirements to Install Toad

Only Windows Administrators and Power Users can install Toad.

If an Administrator installs Toad, the Administrator can share the Toad shortcut icon on the
desktop and menu items with any usera Power User, Restricted User, Vista standard user
on the computer.

If a Power User installs Toad, a Restricted User cannot do the following:

l Associate file extensions.


l View the Toad shortcut icon on the desktop or the Toad menu options in the
Windows Start menu. As a workaround, Restricted Users can create a shortcut to Toad
from the install directory and place the shortcut on their desktop.

User Requirements and Restrictions for Running Toad

The following describes the requirements and restrictions for users who launch and run Toad:

l To create or modify the QuestSoftware.ToadSecurity table to enable Toad Security,


the user who maintains this table must have privileges to create, insert, update, and
delete it. All other users need only the ability to read the QuestSoftware.ToadSecurity
table to use Toad Security features.
Toad for MySQL Installation Guide 8
Installation

Install Toad
To install Toad

1. Run the ToadInstaller.exe.

2. Complete the wizard.

Specify Application Data Directory Location


Toad for MySQL 7.7 stores settings files in the user's Application Data directory. The default
location cannot be modified from within the application. Toad provides two methods to
change the default location: by using a Registry setting or by using a command switch in a
Toad shortcut.

Use the Registry setting method to change the application data directory from Roaming to
Local. Use the command switch method to change the location to any new path.

To change Toad Application Data directory location from Roaming to Local

In the Registry under Toad for MySQL (Computer\HKEY_CURRENT_USER\Software\Quest


Software\Toad for MySQL\7.7), add LOCALSETTINGS with a value of 1.

See the following table for default (Roaming) and resulting (Local) directory path.

Caution: All current Toad settings will be lost after applying this Registry setting unless you
manually copy the settings files from the default location (Roaming directory) to the new
location (Local directory). Copy the settings files BEFORE you add the Registry setting and
BEFORE opening Toad.

Operating System Default Location New Location when


LOCALSETTINGS = 1

Windows Vista C:\Users\username\ C:\Users\username\


Windows Server 2008 AppData\Roaming\Quest AppData\Local\Quest
Software\Toad for MySQL Software\ Toad for MySQL
Windows 7
7.7 7.7
Windows 8

To change Toad Application Data directory location using a command-line switch

You can override the default Application Data directory by running Toad with the
command switch:

Toad.exe --datadir="YourNewDirPath"
Toad for MySQL Installation Guide 9
Installation

To instruct Toad to always use the new directory path, add the command switch and the new
directory path to a Toad desktop shortcut. Then use the desktop shortcut when opening Toad.

1. To add the command switch, right-click the Toad shortcut and select Properties.
2. Enter the command switch and add the directory path in quotes (replace
"YourNewDirPath" with your directory path).

Install Toad Silently


Silent installation provides a convenient method for deploying Toad to multiple machines.
With some customization, you can also deploy the license key and settings at the same time.

Determine Which Installer to Use


Before performing a silent installation, review the following to determine which
installer to use:

Installer Advantages Disadvantages

Executable Silent installation using the .exe Silent installation using the .exe
file (.exe) file has the following file has the following
advantages: disadvantages:
l Verifies whether the l Cannot deploy custom
prerequisite software is Toad settings files or
installed, and if not, license keys.
redirects you to the
l Installer automatically
download location.
exits if the prerequisite
software is not installed.

Microsoft Supports deployment of Toad Silent installation using the .msi


Installer file settings files and license keys. file has the following
(.msi) disadvantages:
l Requires manual
verification and
download of any
prerequisite software.
l Requires a manual
uninstall of the previous
version of Toad using
Add/Remove Programs.
Toad for MySQL Installation Guide 10
Installation

Silent Installation Prerequisites


Before you perform a silent installation, you must install the following software on every
computer where you are installing Toad:

l Microsoft .NET Framework 4.5

Silent Installation Using the Executable


Use the executable file to perform a silent install to the default directory (or to a different
directory) and to specify options such as logging installation messages.

To perform a silent install using the executable file

1. At a Windows command prompt, switch to the drive or directory where the


executable for Toad is located. (This file can be downloaded from the Dell Software
Web site or can be found on the Toad installation CD-ROM.)

2. For a standard installation with all features enabled, enter the following command:
ToadInstaller.exe /S

You can customize MSIEXEC command-line options and overrides for your
installation similar to the following command:
ToadInstaller.exe /S /Lx C:\temp\installLog.txt
INSTALLDIR=Drive:\your_install_path USERNAME=some_user
COMPANYNAME=your_company ALLUSERS=1

Use the following descriptions to customize the command-line options and overrides
for your installation.

Command-Line Options

The following MSIEXEC command-line options are used in this example:

Option Description

/L C:\temp\ (Optional) Write installation messages to the specified log.


installLog.txt You can append other options, such as x for debug (used in
the previous example) or v for a verbose log. See the log
section at http://msdn2.microsoft.com/en-
us/library/aa367988.aspx for more information about
additional logging options.
Also, substitute C:\temp\installLog.txt in the example
with the fully qualified name of the log file. Enclose this
value in double quotations. The installation process creates
this file if it does not exist. Otherwise, the existing file is
overwritten.
Toad for MySQL Installation Guide 11
Installation

Toad Default Installation Option Overrides

You can specify the following values to override Toads default installation options.
Enclose each value in double quotations.

Option Description

INSTALLDIR (Optional) Specify the absolute path for the directory in


which you want to install Toad. If you do not include this
path, the installation program defaults to:
C:\Program Files (x86)\Dell\Toad for MySQL7.7.

ALLUSERS (Optional) Specify one of the following:


l For a per-machine installation, specify 1. This
value allows any user to use the Toad shortcut on
the desktop after the installation completes.
l For a per-user installation, enter the empty string
value () This value allows only the user
specified for USERNAME (and the user that
installed Toad) to see the Toad shortcut on the
target desktop. If USERNAME is omitted, only the
user that installed Toad sees the shortcut.
Note:If you do not specify this property, the installation
program defaults to a per-user installation.

USERNAME (Optional) Specify the user that intends to use Toad on


the target computer.
Notes:
l If ALLUSERS is omitted or defined with the
empty string value (""), only the user specified
here (and the user that installed Toad) can see the
Toad shortcut on the desktop after the installation
completes.
l If ALLUSERS is omitted or defined with the
empty string value ("") and you omit the
USERNAME option, only the user that installed
Toad sees the Toad shortcut on the desktop.
l If ALLUSERS is 1, the USERNAME value is
ignored during installation.

COMPANYNAME (Optional) Specify the name of the company that owns


this installation.

Notes:
l All default installation option overrides are case-sensitive.
l Enclose all values (except for the ALLUSERS value) in double quotations.
Toad for MySQL Installation Guide 12
Installation

Silent Installation Using the Microsoft Installer

Perform Silent Installation Using MSI

To perform a silent install using msi

1. At a Windows command prompt, switch to the drive or directory where the msi
installer for Toad is located.

2. For a standard installation with all features enabled, enter the following command:
msiexec /i ToadInstaller.msi /q

You can customize command-line options and overrides for your installation similar
to the following:
msiexec /i ToadInstaller.msi INSTALLDIR= Drive:\your_install_
path /q USERNAME=someone COMPANYNAME=your_company ALLUSERS=1

Command-Line Options

The following MSIEXEC command-line options are used in this example:

Option Description

/i Run the installation.

/q Specify the user interface (UI) that displays during installation.


You can append other options, such as n to hide the UI or b
to hide the Cancel button during the installation.

Note:All command-line options are case-insensitive. See


http://msdn2.microsoft.com/en-us/library/aa367988.aspxfor a complete list of
command-line options.

Toad Default Installation Option Overrides

You can specify the following values to override Toads default installation options.
Enclose each value in double quotations.

Option Description

INSTALLDIR (Optional) Specify the absolute path for the directory in


which you want to install Toad. If you do not include this
path, the installation program defaults to:
C:\Program Files (x86)\Dell\Toad for MySQL7.7.

ALLUSERS (Optional) Specify one of the following:


Toad for MySQL Installation Guide 13
Installation

Option Description

l For a per-machine installation, specify 1. This


value allows any user to use the Toad shortcut on
the desktop after the installation completes.
l For a per-user installation, enter the empty string
value () This value allows only the user
specified for USERNAME (and the user that
installed Toad) to see the Toad shortcut on the
target desktop. If USERNAME is omitted, only the
user that installed Toad sees the shortcut.
Note:If you do not specify this property, the installation
program defaults to a per-user installation.

USERNAME (Optional) Specify the user that intends to use Toad on


the target computer.
Notes:
l If ALLUSERS is omitted or defined with the
empty string value (""), only the user specified
here (and the user that installed Toad) can see the
Toad shortcut on the desktop after the installation
completes.
l If ALLUSERS is omitted or defined with the
empty string value ("") and you omit the
USERNAME option, only the user that installed
Toad sees the Toad shortcut on the desktop.
l If ALLUSERS is 1, the USERNAME value is
ignored during installation.

COMPANYNAME (Optional) Specify the name of the company that owns


this installation.

Notes:
l All default installation option overrides are case-sensitive.
l Enclose all values (except for the ALLUSERS value) in double quotations.

Create Transform (MST)Files

You can create a Microsoft transform (.mst) file that deploys the license key, custom settings,
and connections for users when performing a silent install using the .msi file. You can also
use the .msi file to perform a basic silent install using the default directory (or install to a
different directory) and to specify command-line options and default installation overrides.
See "Perform Silent Installation Using MSI" (page 12) for more information if you are not
creating a transform file.
Toad for MySQL Installation Guide 14
Installation

Note: (MSI installs on Windows Vista and 7) If you are using MSIto install Toad on
Windows Vista or 7 with UAC enabled, you can install a file that adds a "Run as
administrator" option when right-clicking the MSI
file:http://www.symantec.com/connect/downloads/msi-run-administrator-context-menu-vista.

Note: The installer does not verify that system requirements have been met before installing.
If you do not want to manually verify system requirements, you should use the .exe file for
the silent install.

The following procedure uses the Wise Installer to create the transform file.

To create a transform file that includes custom Toad settings

1. Save and install the ToadInstaller.msi file on a computer where the Wise for Windows
Installer is installed. After customizing Toad settings, you will use the Wise Installer
to create the transform file.
2. Open Notepad, and do the following:
a. Enter the license key in the first line.
b. Enter the site message in the second line.
c. Save the file with license.key as the file name in the Toad install directory.
Make sure the file extension is .key not .txt.
3. Launch Toad. The application should open without prompting you to enter a
license key.

4. Select Tools | Configuration Wizard from the Toad menu and complete the
Configuration wizard. This wizard creates an initial settings file (Settings.xml).

5. Select Tools | Options from the menu in Toad to open the Options window.

6. Select each page in the window and set any options you want to deploy. These
options create a module settings folder and files.

7. Select View | Connection Manager from the menu in Toad to open the
Connection Manager.
8. Create any connections you want to deploy.

9. Exit Toad. Upon exiting, a Connections file is created.

10. Create the Microsoft Transform file, using any appropriate tool. The following steps
describe how to use the Wise for Windows Installer to create the file.
a. Select File |New.
b. Select Custom Templates under Categories, and then select the Transform
template in the New Installation File window.
c. Select the ToadInstaller.msi file in the Select the .MSI file to base this
transform on window.
d. Save the project.
e. Select Files from the Feature Details view.
Toad for MySQL Installation Guide 15
Installation

f. Locate the following files and click Add to add them to the project:

File to Add Windows Vista, Windows Server 2008, Windows 7,


Windows 8

Settings.xml C:\Users\ username\AppData\Roaming\ Quest


Software\Toad for MySQL 7.7.

ModuleSettings C:\Users\username\AppData\Roaming\ Quest


folder and files Software\Toad for MySQL 7.7\ModuleSettings.

Connections.xml C:\Users\username\AppData\Roaming\ Quest


Software\Toad for MySQL 7.7.

g. Save the project and compile it to create the transform (MST)file.


11. Perform a silent install. See "Perform Silent Installation Using MSI" (page 12) for more
information.

Install Toad on Citrix Systems


Toad must be installed on the Citrix server by the Citrix administrator. Users then connect to
this instance through their Citrix login.

Note: Limited testing has been performed for Citrix XenApp 5.0 support on Windows
Server 2003 and for Citrix XenApp 6.5 on Windows Server 2008 R2.

To install Toad on a Citrix system

1. Connect to the Citrix Environment as an administrator.

2. Copy Toad to the Citrix server, if needed.

3. Start the Toad installation process.

4. During installation, select the Anyone who uses this computer checkbox when
prompted.

5. Repeat steps 2 through 4 for each server in the Citrix farm.

Note: Although you must install Toad on every server in the Citrix farm, you only
need to publish Toad once.

6. Review the following considerations regarding licensing:

l A license supplied by an administrator always overrides a user-supplied license


in a Citrix environment.
l If you need to provide the same Toad functionality to all users, you can enter
the default license key for all users.
Toad for MySQL Installation Guide 16
Installation

l If you have users with different license requirements (for example, some have
Standard licenses and others have Professional licenses), individual licenses
should be entered for each user. You should not enter the default license key
because it enables all functionality in Toad.

Upgrade Toad
To upgrade Toad

1. Run the ToadInstaller.exe installation program from the DVD or downloaded file.
2. Select Uninstall Toad and continue with install.
3. Complete the wizard.

If you are upgrading from a previous version of Toad, you are prompted to migrate your
settings the first time you start Toad. The settings files include database connections, layout
customizations, shortcut keys, and options customized in the Options pages.

To migrate the settings again, remove or rename the current version's Application Data folder
and migrate the files from the previous version's Application Data folder.

Upgrade Automation Scripts and Scheduling


Tasks
If you upgrade to a newer version of Toad, Automation scripts created in a previous version
must be upgraded before you can open them in the newer version. Toad prompts you to
automatically upgrade a script when you attempt to open it in a newer version.

In addition, scheduled scripts are scheduled to run using the version of Toad in which they
were created. After upgrading Toad, those previously-created, scheduled scripts will not
execute in the newer version until you migrate each script's scheduling task. Toad prompts
you to migrate scheduling tasks when you initially launch the application after installation.

Upgrade Automation Scripts to Newer Version of Toad


An automation script is compatible with the version of Toad in which the script was created.
If you want to open and/or modify a script using a newer version of Toad, you must upgrade
the script. Toad automatically prompts you to upgrade the script the first time you open it in
the newer version.
Toad for MySQL Installation Guide 17
Installation

To upgrade an Automation script

1. Open the script in Toad. Toad prompts you to upgrade the script.

2. To upgrade the script, select Yes.

Caution: An automation script is no longer compatible with previous versions of


Toad after an upgrade.

3. Select No (and do not elect to save the script), to keep the script compatible with the
previous version.

4. If you selected Yes, Toad upgrades your script and saves a backup copy of the
original script in the following location:

<application data directory>\Automation\bak\

5. If the script you upgraded is also scheduled, you must migrate the scheduling task,
otherwise the upgraded script will fail to run.

Migrate Scheduling Tasks to Newer Version of Toad


Each scheduled Automation script uses a Windows scheduling task. The scheduling task
specifies which version of Toad to use by specifying the version's application path. Toad
provides you with two easy ways to migrate your scheduled scripts' scheduling tasks when
you upgrade Toad. First, Toad prompts you to migrate scheduling tasks upon initial launch of
the application after installation. Next, you can migrate scheduling tasks at any time using
the Job Manager.

Notes:

l If you upgrade a previously-created script by opening it in a newer version of Toad,


you must also migrate the scheduling task to the newer version.
l If you install the newer version of Toad side-by-side with the older version,
previously-created, scheduled scripts will continue to execute using the older version,
until you migrate the scheduling tasks (provided that you do not open the scripts in
the newer version).
Toad for MySQL Installation Guide 18
Installation

To migrate scheduling tasks upon initial launch

1. After upgrading Toad, and upon initial launch of the application, the Migrate
Scheduled Tasks dialog opens.
2. Select the scheduled tasks (scheduled Automation scripts) to migrate to the new
version of Toad.
3. Click OK to close the dialog.
4. Toad immediately prompts you for your Windows password. Enter your password to
migrate the scheduled tasks.

To migrate scheduling tasks using the Job Manager

1. Select Tools | Administer | Job Manager.

2. Click on the Job Manager toolbar.

3. Select the scheduled tasks to migrate and click OK.

Note: Only currently-scheduled tasks (enabled or disabled) are listed in the Migrate
Scheduled Tasks dialog.

4. Toad immediately prompts you for your Windows password. Enter your password to
migrate the scheduled tasks.

Manually Edit Scheduling Tasks

On occasion you may need to modify the application path in a Windows scheduling task.
You can do this by manually editing the scheduling task using the following procedure.

To manually edit a scheduling task

1. In the Job Manager (Tools | Administer | Job Manager), right-click a task and
select Edit Task.
2. To change the version of Toad used to run the script, in the Run and Start in fields,
change the folder name in the toad.exe path.

Uninstall Toad
If you uninstall Toad, it may not uninstall completely. When you use Toad, you create new
files such as SQL scripts, data output, or temp files, etc. The following types of files are not
removed when you uninstall:

l Any new files you create


l Any copies of files you make for backup purposes
l Settings files
Toad for MySQL Installation Guide 19
Installation

You can uninstall Toad for MySQL by using the Installer or by using the Windows
Add/Remove Programs (or Uninstall a program) feature. Using the Installer is the preferred
way to uninstall Toad for MySQL.

To uninstall Toad

1. Run the ToadInstaller.exe.


2. Select Uninstall Toad for MySQL only.
3. Complete the wizard.

Licensing
To enter your license key

1. Select Help | Licensing from the menu (ALT+H+L).

2. Review the following for additional information:

Authorization key Enter the license key for Toad.

Site message Enter the site message included with the license key.

Note: Your license key determines the edition of Toad and will enable the
functionality accordingly. In many cases, if functionality is disabled within Toad, you
may not have an appropriate license to use it. When Toad is running, you can see
which components are licensed by selecting Help | About. For complete list of
features shipped with your Toad edition see http://software.dell.com/.
Create and Troubleshoot Connections

Understand Toad Connections


Review this topic to learn about open database connections in Toad.

Toad Open Connections


In Toad, an open connection in the Connection/Navigation Manager represents one or more
actual connections to the database. When you open a database connection in Toad:

l Toad creates an initial database connection for general use.

l Toad also creates a separate database connection for each Editor (the first time you
execute a statement) and for each Data tab in the Database Explorer (the first time you
select the tab and query data).

The connection associated with the window (or tab) remains open until you close the
window. If a window has an associated connection, but a statement is not currently
executing, the connection is in an inactive state.

To view information for an open connection

l To view the number of actual database connections that exist for a Toad connection,
including the number of active connections, place the cursor over the connection in
the Connection/Navigation Manager pane or in the connection drop-down list.

To use the Background Processes pane

l When a statement is executing, a progress bar displays in the Status bar located at the
bottom of the Toad application window. Click the executing progress bar to open the
Background Processes pane.

l To cancel statement execution, use the Background Processes pane.

Note: It is recommended that you cancel only your own processes, because
terminating Toad activities could cause unexpected behavior.

Sharing a Connection Among Windows


You can instruct Toad to share an open connection among windows. In this way, the Editor
windows and Data tabs can share the same connection when the connection is inactive.

To share a database connection among windows in Toad

1. Select Tools |Options |Editor |General.

2. Clear the checkbox for the Use individual connection for each open editor option.
Toad for MySQL Installation Guide 21
Create and Troubleshoot Connections

3. When this option is not selected, Toad attempts to use a single connection for any
new windows or query execution. For example, if you share a database connection,
you can execute a query in the Editor, execute another query in a new Editor, and
then select the Data tab from the same connection.

If the single connection is in use when Toad attempts to execute it, the
following occurs:

l If your database does not support executing multiple queries on a shared


connection, a dialog prompts you to either permanently associate the window
with a new database connection, cancel the previous operation, or add the
query to a queue until the current operation completes, and the execute it. If
you place multiple queries in the queue, each one executes in the order that it
was added to the queue.

Note: Although you can share a database connection, any commits apply to the selected
window only.

Create MySQL Connections


You can create a new connection, or connect to an existing connection from the Create New
Connection window. See "Troubleshoot MySQL Issues" (page 22) for more information about
troubleshooting MySQL connection issues.

To create a MySQL connection

1. Click on the toolbar (ALT+F+N).

2. Select MySQL from the Group list box.

3. Review the following for additional information:

Login Tab Description

Connection Select the protocol to use when connecting.


type

Host Enter the name of the host computer where the database is
installed.

Password Enter the password to use when connecting.


Tip: After connecting, you can set a master password to further
secure your connection in Tools |Options|Environment |
Security.

Connection Enter the number of seconds to wait when connecting before


timeout the application times out. The default is 15 seconds.
Toad for MySQL Installation Guide 22
Create and Troubleshoot Connections

SSL If you selected SSL as the connection type, review the


following for additional information:
l Private keybrowse to the location of the SSL key file
to use when connecting.
l CA certbrowse to the location of the trusted certificate
authority to use when connecting.
l Certbrowse to the location of the SSL certificate file
to use when connecting.

Compress Select this checkbox to compress the value of any strings and
return binary values.

Use Select this checkbox to use an embedded MySQL library


MySQL instead of the MySQL .NET provider.
libraries Note: If you select this option, you must specify libMySQL.dll
in the path.

Category Select or create a category if you want to color code Editor tabs
for a specific connection. This can help differentiate between
development and production databases. You can also set an
option to color code the Object Explorer pane and object editor
windows (Create, Alter, Drop, etc.). Click here to view a
video of this feature.

4. Click Connect to save the connection and immediately connect to the database.

or

Click Save to save the connection without connecting to the database.

Tip:Connections are stored in the connections.xml file and can be found by clicking the
Application Data Directory link in Help |About.

Troubleshoot MySQL Issues


Review the following solutions to help troubleshoot MySQL connection issues pertaining to
database connections in Toad.

Issue Cause/Solution

"InvalidCastException" error This is a known issue in MySQL.


when connecting to MYSQL Solution:
4.1.14-nt database
Review the known issue and download a patch
from: http://bugs.mysql.com/bug.php?id=12771

"System.IO.DirectoryNot Solution:
Toad for MySQL Installation Guide 23
Create and Troubleshoot Connections

Issue Cause/Solution

FoundException"error occurs 1. Exit Toad.


each time you attempt to
2. Locate the MySQL.xml file in the
connect after installing Toad
C:\Documents and Settings\username\Local
into a directory other than the
Settings\ Application Data\Quest Software\
default directory.
Toad for MySQLversion\ ModuleSettings
3. Rename or delete the MySQL.xml file.
4. Restart Toad.
3
Configure Version Control

About Version Control


Toad integrates with your existing version control system so you can maintain multiple
revisions of objects. See "Configure Version Control for Objects" (page 28) for more
information on configuring version control in Toad.

Important: See "Troubleshoot Version Control" (page 33) for more information about issues
when upgrading version control from a previous version.

Notes:

l If you want to place database objects under version control, you must configure
version control for objects using the Object Explorer. See "Manage Objects under
Version Control" (page 30) for more information.
l If you rename a version controlled object, Toad drops the original object and its
history from version control and prompts you to add the renamed object to version
control. This newly renamed object does not have any history associated with it.

Prerequisites
You must install a supported version control client on the computer where Toad is
installed. The following table lists the supported version control providers and the versions
tested with Toad.

Supported Server Version Client Version Tested


Provider Tested

Apache Subversion 1.7.5 CollabNet Subversion Command-Line Client


Subversion on Windows 1.7.5
Note:Any Subversion client must have svn.exe in
its installation directory to use version control in
Toad.

Team TFS 2008, 2010, Visual Studio (2008, 2010, 2012) Team Explorer
Foundation 2012 Client
Server (TFS)

File system Toad allows to utilize practically any version control system using the
based external client tool. In this case Toad Version Control tool works with
the directories at local HDD while you commit changes to the
repository with version control client tool.
Toad for MySQL Installation Guide 25
Configure Version Control

Supported Server Version Client Version Tested


Provider Tested

Note: Toad connects to your version control system based on login information included
in the configuration. Your version control client does not need to run for Toad to
connect.

Version Control for Toad Files


Toad can integrate with your existing version control system allowing you to maintain
multiple versions of Toad files. After you integrate Toad with your version control system,
you can perform version control tasks directly from within Toad, such as commit file changes
and retrieve revisions.

Toad supports the following version control systems for managing Toad files:

l Apache SubversionToad has been tested with Subversion 1.7.5 and 1.8.

The following types of files can be managed using version control from within Toad: Editor
(.tef, .sql, .txt), Query Builder (.tsm), ER Diagram (.ter), and Automation (.tas).

Toad supports version control for database objects, as well as files. Version control for
objects is configured separately from version control for files. For more information about
version control for objects, see Configure Version Control for Objects (page 28).

To configure version control for Toad files

1. Ensure that an Apache Subversion client is installed on the same computer as Toad.

2. In Toad, open one of the supported file types. Then right-click the document/window
tab and select File Version Control | Version Control Wizard. This action opens
the Version Control Wizard which allows you to configure Toad for your version
control system.

Note: Even if you previously configured version control for objects, you must run the
Version Control Wizard again to configure version control for files.

3. Use the wizard to provide information about your version control system to Toad.
Review the following for additional information:

Field/Button

Version Control System


Page

Type Select Subversion.

Properties Click the Properties button and enter the path


Toad for MySQL Installation Guide 26
Configure Version Control

Field/Button

to the Subversion executable (svn.exe) on the


client computer. For example, if using
TortoiseSVN, the path might be:
C:\Program Files\TortoiseSVN\bin
Note: Do not include svn.exe in the path.

Server Enter the URL for the Subversion repository on


the Subversion server.

Login and Password Enter the user name and password for your
Subversion account.

Default Version Control


Settings Page

Version Control Folder Select the folder on the Subversion server


where you want to check in files.
If you currently have files under version
control, select the folder on the server where
these files are located.

Working Folder Select a folder on the client computer to use as


the root working folder. This is the location
into which you will check out files.
If you currently have files under version
control, select your existing working folder.

To add a file to version control

1. After configuring version control for files, you can start adding files to version control
from within Toad. Right-click a document/window tab and select File Version
Control | Add file to working folder.
2. Select a location in your working folder in which to save the file. Click Save.
3. In the Commit dialog, enter a comment and click OK to add the file to
version control.

To browse the repository

1. Select Tools | Repository Browser.

2. In the Repository Browser you can right-click a file to perform one of the following
actions. Available actions depend on the file's status.
Toad for MySQL Installation Guide 27
Configure Version Control

Action Description

Open Open the file in Toad.

Commit Commit your changes. Available for Modified or


Untracked files.

Undo Changes Discards your changes and reverts to the previous


revision of the file (previous commit). Available
when the file status is Modified.

Get Latest Version Check out the latest revision from the remote
repository. Available when the file status is
OutOfDate.

To commit your changes

l After modifying a file, right-click the document window tab and select File Version
Control | Commit.

To compare revisions (Editor files only)

l After modifying and saving an Editor file, you might want to compare your changes
to the remote copy (last commit) before committing your changes. Right-click the
document tab and select File Version Control | Diff with latest revision.
l You can compare two revisions of an Editor file (.tef, .sql, or .txt) by using the
History dialog.
1. To open a file's History dialog, right-click the document tab and select File
Version Control | Show history.
2. Select two revisions to compare. Then right-click the revisions and select
Compare revisions.
3. For an OutOfDate file, right-click the latest revision in the History dialog and
select Compare with working copy to compare the remote file to your
working copy.

To check file status

l The status of a currently open file displays in the status bar of the document window.
You can also place the cursor over the document tab to display status.
l You can check the status of one or more files by using the Repository Browser.
To update file status in the Repository Browser, right-click a folder and select
Update folder.

l Review the following file status definitions.


Toad for MySQL Installation Guide 28
Configure Version Control

File Status Definition

Untracked The file has not been added to version control. Right-click the
file in the Repository Browser and select Commit to add it to
version control.

UpToDate The file in your working folder is synchronized with the file
in the remote repository. No changes are detected. No action
is required.

Modified The working copy of this file was modified. The changes are
stored in the working folder only. Commit this file to add the
changes to the remote repository.

OutOfDate A more recent revision of this file exists in the remote


repository. To update your working copy, check out the latest
revision from the remote repository (right-click the file and
select Get Latest Version).

Unknown The file is under version control, but its status cannot be
determined.

Deleted The file was under version control, but it was dropped or
renamed in the working folder and exists only in the remote
repository.

Additional Actions

l To open the folder where a file is located, open the file and then right-click the
document tab and select File Version Control | Open in Windows Explorer.

Configure Version Control for Objects


To configure version control for files, see Version Control for Toad Files (page 25).

To configure version control for Objects

1. Ensure that a supported version control client is installed on the computer where Toad
is installed. See "About Version Control" (page 24) for more information about tested
version control clients and supported versions.

2. Right-click one or more objects in the Object Explorer and select Version Control |
Version Control Wizard.

Note: Version control is configured .

3. Review the following for additional information:


Toad for MySQL Installation Guide 29
Configure Version Control

Version Control Description


System Page

Type Select the version control system name:


l Apache Subversion
Note:The version number beside Subversion is an
internal file definition used by Toad to check if an
update for this file is available. It is not the actual
version number for the version control provider.
l Team Foundation Server
Note: If you select TFS, you must specify the
workspace name for the provider in the Team
Foundation Server Properties window that
displays.
l File system based

Properties (Subversion only) Click this button (beside the Type


field) and complete the binary path. Enter the path where
the Subversion client that contains svn.exe is installed.
For example, if you installed the CollabNet Subversion
Client, you would enter:
C:\Program Files\CollabNet Subversion Client
Note: Do not include svn.exe in the path.

Server Select one of the following:


l SubversionSpecify the existing working folder
for the version control repository or specify the
server string (for example: svn://MyServer).
l TFSSpecify the server where your version
control provider is installed and the port number
(default is 8080) to use in the following format:
o http://MyServer:Port for TSF 2008
o http://MyServer:Port/TFS for TFS 2010,
2012
l File System BasedSpecify a directory at your
local machine.

User name/ Enter your Subversion command-line user name and


Password password and click Login.
Note: For TFS only, if you leave the user name and
password fields blank, Toad uses your default Windows
credentials.
Toad for MySQL Installation Guide 30
Configure Version Control

Default Version Description


Control Settings
Page

Version control Select the folder on the version control server where you
folder want to check objects in.
If you already have objects under version control, select
the folder on the server where these objects are located.
Note: Version control automatically checks out objects in
this folder and any subfolders to the location you specify
in the Working folder field.

Working folder Select the root repository folder on the client computer to
use as the default working folder for checking objects
out. If you already have objects under version control,
select the existing working folder for these.

4. Manage object and scripts using Version Control. See "Manage Objects under Version
Control" (page 30) for more information.

Manage Objects under Version Control


Note: Version Control should be configured in Toad before you start managing objects. See
"Configure Version Control for Objects" (page 28) for more information.

To add objects under version control

Right-click an object and select Commit.

Tips:

l The objects under version control are marked with sign at the top right corner of
the object's icon.
l If you rename a version controlled object, Toad drops the original object and its
history from version control and prompts you to add the renamed object to version
control This newly renamed object does not have any history associated with it.

To manage objects under version control

1. Determine object's version control status. Hover a mouse over the object in the Object
Explorer to see its status. Review the following for additional information:

Version Control Description


status

Uninitialized The object status is undetermined yet. This is a


temporary status that is issued for all objects during
Toad for MySQL Installation Guide 31
Configure Version Control

Version Control Description


status

version control status processing.

Untracked The object is not added to version control.

Ignored The object is added to ignore list and excluded from


version control.

UpToDate The object is under version control and is synchronized


with version control repository. No changes are
detected.

Modified The object is under version control and has been


modified by user. The changes are stored in local
database only and need to be synchronized with version
control repository.

Merge The object is under version control and has been


modified in both local database and version control
repository.
Note:: Toad's Version Control feature does not allow to
merge object scripts.

OutOfDate The object is under version control and has been


modified in version control repository.

Unknown The object is under version control but for some reason
its status cannot be determined (for example, you
created a script in your local database while the script
with the same name already exists in version control
repository, or you upgraded to a higher version of Toad
and configured version control for the same repository
while you have some uncommitted changes in the
database).
Tip: If you are sure that the object is up to date but is
listed as unknown, commit the object in version control
system to resolve unknown status.

Deleted The object was under version control, but it was


dropped or renamed in local database and exists only in
version control repository.
Tip: You can see deleted objects in the Controlled
objects pane only. To access it right-click any object
and select Show perspective. Once you commit changes
in Controlled objects pane, the object with all history
will be deleted from version control repository.
Toad for MySQL Installation Guide 32
Configure Version Control

Version Control Description


status

NotInView The object is under version control and exists in version


control repository only.

2. Right-click an object and select one of the following actions:

Use To...

Show perspective Select to review all controlled objects for current


configuration.

Diff Select to review differences between the object script in


your local database and the object's revision that was
applied to it.
Note: Diff is unavailable for File System Based
configuration.

Diff with latest Select to review differences between the object script in
revision your local database and the latest revision in the version
control repository.

Example: You got the latest object revision from the repository 2 days ago. By
the time you did it, the latest revision was 5. Yesterday your colleague worked
with the same object and committed changes in the repository, which are now
marked as revision 6.
Today you altered the object's script and want to see the differences. You can
select one of the following:
l DiffTo compare the object in your local database with revision 5.
l Diff with latest revisionTo compare the object in your local database
with revision 6.

Show history Select to review all commits for selected object.


Tip: Select Show history on database to review all
commits.
Note: Show History is unavailable for File System
Based configuration.

Get latest revision Select to apply object's changes from the version control
repository to your local database. The synchronization
script is generated to update selected object to the latest
revision.

Commit Select to apply object's changes from your local


database to the version control repository.
Toad for MySQL Installation Guide 33
Configure Version Control

Use To...

Note: You should write a comment when committing


changes.

Undo changes Select to rollback changes in your local database. The


synchronization script is generated to revert object to
the revision which was a applied last time.

Update status Select to compare a script in your local database with


the script in the repository. New status will be issued
according to the comparison results.

Add to ignore list Select to exclude object from the version control.
Ignored objects are not listed in Controlled Objects
pane, Commit and Get latest revision are disabled.

Remove from ignore Select to set object status as Untracked and add it to
list version control.

Open in Windows Select to navigate to the file in the Windows Explorer.


Explorer

Tip: You can enable, disable, or delete a version control configuration under Tools |
Options | Version Control |Configurations.

Troubleshoot Version Control

Troubleshoot Upgrades
For this release, the back-end of version control has been rewritten. If you previously used
version control in Toad, the following may occur:

l Version control settings are not migrated from the previous version of Toad, so you
have to reconfigure version control in Toad.
l In previous releases, the method Toad used to generate the script was different than
the current method. After upgrading Toad and reconfiguring version control, the local
revision of the objects differs from version control repository (The objects have
Unknown status). If the object in your database is current, you should commit it into
version control.

Troubleshoot Other Issues


Review the following to help troubleshoot issues with version control:

Apache Description
Subversion
Toad for MySQL Installation Guide 34
Configure Version Control

Issues

System cannot If a message stating that, The system cannot find the file specified
find file displays, this usually means that the Subversion executable cannot
be found in the path you specified in the BinaryPath field of the
Command Based Version Control Properties window. Verify that
svn.exe exists in the directory you specified in this field.

Command When executing Subversion commands, user input is not allowed.


execution This presents an issue when the user is using Subversion with the
SSH method and must enter a password to establish the Secure
Shell.
Workaround:
Generate identity keys that automatically authenticate between the
client and the server when connecting with SSH.

OutOfMemory When adding a large number of objects, Subversion may encounter


exception OutOfMemory exception.
when adding Workaround:
a large
Commit objects in several steps.
number of
objects

SVNis If Subversion is missing in the list of available version control


missing in the providers, it means that Subversion.xml was removed or corrupted.
list of Workaround:
available
Contact Support to get a new Subversion.xml and place it under
providers
<Toad install path>/Templates/Version Control/.

Object Issues Description

Adding When you add multiple objects to version control, the objects are
multiple grouped and added in batches (for example, all the tables for a
objects failed particular schema are added at once). If an error (for example, failure
to support Korean characters) causes this command to fail, none of
the objects are added.

Script Issues Description

Canceled SQL scripts remain checked out if a change was made to the text,
check-in but check-in was canceled during the prompt for a check-in
comment. This behavior is by designthat is; the user can either
undo the checkout or check in the script using the right-click menu
in the Scripts node/folder/tab of the Object Explorer.
Note: If you alter the object again, you receive a prompt to use the
locally changed script. Click Yes to use the locally changed
copy; click No to refresh the local copy from the source repository;
click Cancel to cancel the prompt.
About Dell

Contact Dell
Dell listens to customers and delivers worldwide innovative technology, business solutions
and services they trust and value. For more information, visit www.software.dell.com.

For sales or other inquiries, visit http://software.dell.com/company/contact-us.aspx or call 1-


949-754-8000.

Technical Support Resources


Technical support is available to customers who have purchased Dell software with a valid
maintenance contract and to customers who have trial versions. To access the Support Portal,
go to http://software.dell.com/support/.

The Support Portal provides self-help tools you can use to solve problems quickly and
independently, 24 hours a day, 365 days a year. In addition, the portal provides direct access
to product support engineers through an online Service Request system.

The site enables you to:

l Create, update, and manage Service Requests (cases)

l View Knowledge Base articles


l Obtain product notifications
l Download software. For trial software, go to Trial Downloads.
l View how-to videos
l Engage in community discussions
l Chat with a support engineer
Toad for MySQL Installation Guide 36
Contacting Dell

Toad Community
Get the latest product information, find helpful resources, and join a discussion with the Toad
for MySQL team and other community members. Join the Toad for MySQL Community.

Please be advised before installing: Toad for MySQL is an official Dell Software Inc.
Freeware Product. This license does not entitle Licensee to receive technical support
from Dell .

Get the latest product information and find helpful resources at the Toad for MySQL
Community at http://toadformysql.com/index.jspa.
L

Index license keys 19

M
A
manage objects under Version
application virtualization 6 Control 30

automation mst file 13

migrate scheduled tasks 18 MySQL

upgrade scripts 16 create connections 21

C troubleshoot 22

Citrix R

install 15 requirements

requirements 6 Citrix 6

client requirements 5 client 5

connections virtualization 6

create MariaDB 21 S

create MySQL 21 server virtualization 6

share for all session windows 20 silent install 9

understand 20 create transform file 13

corporate deployment 9 prerequisites 10

D Subversion, configure 28

Dell system requirements 5

contact 35 T

desktop virtualization 6 Team Foundation Server, configure 28

I TFS, configure 28

install 8 transform file 13

Citrix 15 troubleshoot

Citrix support 6 MySQL 22

client requirements 5 version control 33

silent 9
Toad for MySQL Installation Guide 38
Index

uninstall 18

Version Control

about 24

configure Subversion 28

configure TFS 28

File system based 28

manage objects 30

troubleshoot 33

virtualization support 6

Anda mungkin juga menyukai