tracker issue : CF-3038742

select a category, or use search below
(searches all categories and all time range)
Title:

Bug 77588:Tried to make a database connection using MySQL 4/5 and it failed

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/

Reporter/Name(from Bugbase): Elaine Montoya / Elaine Montoya (elaine montoya)

Created: 05/31/2009

Components: Database, General

Versions: 9.0

Failure Type: Unspecified

Found In Build/Fixed In Build: 233019 /

Priority/Frequency: Major / Unknown

Locale/System: English / Mac 10 All

Vote Count: 0

Duplicate ID:	CF-3038525

Problem:

Tried to make a database connection using MySQL 4/5 and it failed

Method:

- Add New Datasource
- enter name
- select MySQL 4/5 as the driver
- click add
- fill out database name, localhost, username, password
- click submit
Result:

Connection verification failed for data source: test
com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception: ** BEGIN NESTED EXCEPTION ** java.net.UnknownHostException MESSAGE: [localhost] STACKTRACE: java.net.UnknownHostException: [localhost] at java.net.InetAddress.getAllByName(InetAddress.java:1070) at java.net.InetAddress.getAllByName(InetAddress.java:1008) at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:163) at com.mysql.jdbc.MysqlIO.(MysqlIO.java:267) at com.mysql.jdbc.Connection.createNewIO(Connection.java:2739) at com.mysql.jdbc.Connection.(Connection.java:1553) at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:266) at coldfusion.server.j2ee.sql.pool.JDBCPool.createPhysicalConnection(JDBCPool.java:589) at coldfusion.server.j2ee.sql.pool.ConnectionRunner$RunnableConnection.run(ConnectionRunner.java:67) at java.lang.Thread.run(Thread.java:613) ** END NESTED EXCEPTION ** Last packet sent to the server was 1 ms ago.
The root cause was that: com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception: ** BEGIN NESTED EXCEPTION ** java.net.UnknownHostException MESSAGE: [localhost] STACKTRACE: java.net.UnknownHostException: [localhost] at java.net.InetAddress.getAllByName(InetAddress.java:1070) at java.net.InetAddress.getAllByName(InetAddress.java:1008) at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:163) at com.mysql.jdbc.MysqlIO.(MysqlIO.java:267) at com.mysql.jdbc.Connection.createNewIO(Connection.java:2739) at com.mysql.jdbc.Connection.(Connection.java:1553) at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:266) at coldfusion.server.j2ee.sql.pool.JDBCPool.createPhysicalConnection(JDBCPool.java:589) at coldfusion.server.j2ee.sql.pool.ConnectionRunner$RunnableConnection.run(ConnectionRunner.java:67) at java.lang.Thread.run(Thread.java:613) ** END NESTED EXCEPTION ** Last packet sent to the server was 1 ms ago.

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3038742

Deployment Phase:	Release Candidate

External Customer Info:
External Company:  
External Customer Name: Elaine Montoya
External Customer Email: 1EF423C34367FC3D992016B8
External Test Config: 05/31/2009

Attachments:

Comments: