MySQL Forums :: MySQL Workbench - Database Migration :: Failure to connect to source database system

Advanced Search

Failure to connect to source database system
Posted by: Farmer Schlutzenberg ()
Date: September 11, 2009 11:37AM

I'm trying to migrate data from one MySQL database to another with the MySQL Migration Toolkit. The Migration toolkit is being invoked from a machine running Windows Small Business Server 2003, and the source database is running Windows Vista.

For the source, I enter the IP address of the source machine on the local intranet, port 3306, the relevant username/password, and for the target, I enter "localhost", port 3306, and a relevant username/password.

After proceeding I get red crosses in "Connecting to source database system" and "Retrieve schema information from source database system", and the following log:

Connecting to source database and retrieve schemata names.
Initializing JDBC driver ...
Driver class MySQL JDBC Driver 5.0
Opening connection ...
Connection jdbc:mysql://
The list of schema names could not be retrieved (error: 0).
ReverseEngineeringMysqlJdbc.getSchemata :Communications link failure due to underlying exception:

MESSAGE: Connection timed out: connect

STACKTRACE: Connection timed out: connect
at com.mysql.jdbc.StandardSocketFactory.connect(
at com.mysql.jdbc.MysqlIO.<init>(
at com.mysql.jdbc.Connection.createNewIO(
at com.mysql.jdbc.Connection.<init>(
at com.mysql.jdbc.NonRegisteringDriver.connect(
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at com.mysql.grt.modules.ReverseEngineeringGeneric.establishConnection(
at com.mysql.grt.modules.ReverseEngineeringMysqlJdbc.getSchemata(
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.mysql.grt.Grt.callModuleFunction(Unknown Source)


Last packet sent to the server was 31 ms ago.
java.sql.DriverManager.getConnection(Unknown Source)
java.sql.DriverManager.getConnection(Unknown Source)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
java.lang.reflect.Method.invoke(Unknown Source)
com.mysql.grt.Grt.callModuleFunction(Unknown Source)


Anyone know how to fix this?


Options: ReplyQuote

Subject Written By Posted
Failure to connect to source database system Farmer Schlutzenberg 09/11/2009 11:37AM
Re: Failure to connect to source database system Farmer Schlutzenberg 09/11/2009 12:25PM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.