Skip to main content
Inspiring
July 23, 2008
Answered

Connection verification failed for data source

  • July 23, 2008
  • 1 reply
  • 756 views
I have installed the mysql-connector-java-3.1.14-bin and I am trying to set up a mysql datasource.


Data & Services > Datasources > Other

CF Data Source Name mysqldb
JDBC URL jdbc:mysql://localhost:3306:test
Driver Class com.mysql.jdbc.Driver
Driver Name
User Name root
Password


Connection verification failed for data source: mysqldb
java.sql.SQLException: Malformed URL 'jdbc:mysql://localhost:3306:test'.
The root cause was that: java.sql.SQLException: Malformed URL 'jdbc:mysql://localhost:3306:test'.54


This topic has been closed for replies.
Correct answer Hydrowizard
seems like I did it wrong it should have been like this jdbc:mysql://localhost:3306/test

1 reply

HydrowizardAuthorCorrect answer
Inspiring
July 23, 2008
seems like I did it wrong it should have been like this jdbc:mysql://localhost:3306/test