Bug #18870 Unable to connect if the database is named XXX9test

Submitted: 6 Apr 2006 23:00 Modified: 12 Apr 2006 13:26
Reporter: igor gastaldello Email Updates:
Status: Can't repeat Impact on me:
None 
Category:Connector / J Severity:S3 (Non-critical)
Version: OS:Windows (windows NT)
Assigned to: CPU Architecture:Any

[6 Apr 2006 23:00] igor gastaldello
Description:
I'm unable to connect to my database if it is named anyword9test. (or any other combination of digits)
I'm using Java, Connector/J 5 and mySql5.0 on a Windows NT OS.
On a Linux System everything goes well.

How to repeat:
Create a database named im413test
Insert some tables.
Try to connect from java using Connector/J 5
it is impossible to connect.
[12 Apr 2006 13:26] Tonci Grgin
Hi. Thanks for your problem report. I was unable to verify...

MySQL-connector-java-5-0-0-beta
JDK 1.6
WinXP SP2
MySQL 5.0.7-beta-nt-max-log and latest 5.1.x

    public void setUp() throws Exception
    {
        Class.forName("com.mysql.jdbc.Driver");
        con=DriverManager.getConnection("jdbc:mysql://localhost/im413test","root","");
        System.out.println("Connected");
        PreparedStatement st = con.prepareStatement("select * from userss"); 
        testResult(st.executeQuery()); 

    }

run:
Connected
ColName: ID
ColAlias: ID
...

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.053 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
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.