Hi,
I am using torque and mysql. I had written some code which is working fine.
I passes this code to someone and it isnt working.
When i do (which is trying to create a database)
">>>ant -f build-torque.xml create-db"
i get the following error
"java.sql.SQLException: Cannot connect to MySQL server on 127.0.0.1:3306. Is
there a MySQL server running on the machine/port you are trying to connect
to? (java.net.ConnectException)"
My properties file looks like
torque.database.createUrl = jdbc:mysql://127.0.0.1:3306/
torque.database.buildUrl = jdbc:mysql://127.0.0.1:3306/${torque.project}
torque.database.url = jdbc:mysql://127.0.0.1:3306/${torque.project}
torque.database.driver = com.mysql.jdbc.Driver
torque.database.user = abc
torque.database.password = abc
torque.database.host = 127.0.0.1
I am able to connect to mysql using the command
>>>mysql --user=abc --password=abc --port=3306
Could any one suggest what is possibly wrong?
Regards
Parsh
PS: I did see a message in the list with simillar problem, but i am
consistent with reply
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]