Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 256713
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T22:02:13+00:00 2026-05-11T22:02:13+00:00

(no responses from my identical post on the MySQL forums, so I’m hoping to

  • 0

(no responses from my identical post on the MySQL forums, so I’m hoping to have better luck here)

I’m trying to migrate a MS SQL database for a friend. I do not have physical access to the machine, nor do I have admin access — just a read/write user.

Using “SQL Server Management Express” in XP, I can easily login using IP/user/password. I can browse tables, run queries. Easy.

When I fire up the Migration toolkit, select MS SQL, and try to connect, I get the following error:

—- Connecting to source database and retrieve schemata names. Initializing
JDBC driver … Driver class MS SQL
JDBC Driver Opening connection …
Connection
jdbc:jtds:sqlserver://MYSERVERIP:1433/MYDATABASE;user=MYUSERNAME;password=MYPASSWORD;charset=utf-8;domain=
The list of schema names could not be
retrieved (error: 0).
ReverseEngineeringMssql.getSchemata
:Login failed for user ‘MYUSERNAME’.
Details:
net.sourceforge.jtds.jdbc.SQLDiagnostic.addDiagnostic(SQLDiagnostic.java:365)
net.sourceforge.jtds.jdbc.TdsCore.tdsErrorToken(TdsCore.java:2781)
net.sourceforge.jtds.jdbc.TdsCore.nextToken(TdsCore.java:2224)
net.sourceforge.jtds.jdbc.TdsCore.login(TdsCore.java:599)
net.sourceforge.jtds.jdbc.ConnectionJDBC2.(ConnectionJDBC2.java:331)
net.sourceforge.jtds.jdbc.ConnectionJDBC3.(ConnectionJDBC3.java:50)
net.sourceforge.jtds.jdbc.Driver.connect(Driver.java:178)
java.sql.DriverManager.getConnection(Unknown
Source)
java.sql.DriverManager.getConnection(Unknown
Source)
com.mysql.grt.modules.ReverseEngineeringGeneric.establishConnection(ReverseEngineeringGeneric.java:141)
com.mysql.grt.modules.ReverseEngineeringMssql.getSchemata(ReverseEngineeringMssql.java:99)
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)


Any ideas? I’ve triple-checked the login details, no dice. Am I missing a driver? Is the server setup weird? No idea where to go from here.

Thanks in advance.

UPDATE:
I downloaded and ran dbVisualizer (which also uses JDBC) and connected fine using the same SQL auth info…this tells me it’s not the server, and there’s no fancy MSFT stuff going on.

Still have no idea what to do next, though…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-11T22:02:13+00:00Added an answer on May 11, 2026 at 10:02 pm

    I see, there is a blog with almost the same error description

    http://house9.blogspot.com/2007/12/mysql-migration-toolkit.html

    Also, in order to run the tool you need access rights

    master INFORMATION_SCHEMA

    I would suggest executing a query (this should be done by your admin)

    use [master]
    GO
    GRANT SELECT ON SCHEMA::[INFORMATION_SCHEMA] TO [MYUSERNAME]
    GO
    use [master]
    GO
    GRANT VIEW DEFINITION ON SCHEMA::[INFORMATION_SCHEMA] TO [MYUSERNAME]
    GO
    

    Finally, if you granted these rights, but you have the same error, then ask your system administrator to run SQL Profiler, then run your tool and see what queries it tries to execute and what SQL or security exceptions happen there (if any)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hi I have a quick question regarding json responses from the web services, I
I'm trying to view a users tweets from my app but twitter responses with
XML responses from my webapp have both HTML to add to the page AND
I have seen a previous SO Question here that discusses a similar (identical?) issue,
I'm attempting to model responses from REST APIs as case classes which I can
I am experimenting with various responses from a simple NodeJS HTTP server. The effect
My program use UdpClient to try to receive 27 responses from 27 hosts. The
I'm implementing WS-based Agent which will manage soap requests to/responses from PCRF . The
As of ASP.NET 3.5, all AJAX responses from ASP.NET Web Services are enclosed inside
I'm developing a simple in-app billing library. It works with static responses from google,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.