Quantcast
Channel: MySQL Forums - Connector/J, JDBC and Java
Viewing all articles
Browse latest Browse all 884

Mysql connection via cmd prompt (no replies)

$
0
0
Hello all
I am able to connect to mysql db via java program but when I run it using cmd, it does not work.

java -jar iris.jar program-file=Vbra.txt naive unsafe-rules

Exception: com.mysql.jdbc.Driver

java.sql.SQLException: Data Source Unavailable, try connect() first...


Is there Any body who knows how to use Connect() via cmd prompt or any other way to connect ?

Thanking you in advance

Viewing all articles
Browse latest Browse all 884

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>