Bug #16490 | The list of schema names could not be retrieved (error: 0). | ||
---|---|---|---|
Submitted: | 13 Jan 2006 18:58 | Modified: | 17 Jan 2006 14:31 |
Reporter: | David Anderson | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Migration Toolkit | Severity: | S1 (Critical) |
Version: | 1.0.21 rc | OS: | Windows (XP) |
Assigned to: | CPU Architecture: | Any |
[13 Jan 2006 18:58]
David Anderson
[14 Jan 2006 9:39]
Valeriy Kravchuk
Thank you for a problem report. Looks like a problem in JDBC driver you used to access MS SQL Server. Can you, please, try to install and use any other driver?
[16 Jan 2006 18:12]
David Anderson
1. I downloaded this driver: mysql-connector-java-3.1.12 2. I placed it in this location: C:\Program Files\MySQL 3. After that, I changed the CLASSPATH as follows: C:\Program Files\MySQL\mysql-connector-java-3.1.12\mysql-connector-java-3.1.12-bin.jar 4. After rebooting, I tried the migration tool again and received the exact same error.
[17 Jan 2006 10:38]
Valeriy Kravchuk
Please, reread my lmessage carefully: "Thank you for a problem report. Looks like a problem in JDBC driver you used to access MS SQL Server. Can you, please, try to install and use any other driver?" Is there any word about MySQL in it? No, I asked you to use another driver for Microsoft SQL Server. Look at your trace - mysql is not mentioned in it. The exception is from MS JDBC driver... So, please, try to repeat with another JDBC driver for Microsoft SQL Server.
[17 Jan 2006 14:31]
David Anderson
The issue didn't have anything to do with the JDBC driver. Even though the two databases used the same username and password, the one that didn't work was using improper permissions for the user. The schema could not be retrieved because the user could not log in. This did not become apparent until I used a different software tool with more informative error messages.