This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
. I tried this.I think i had posted wrongly in the last post as "ConnectionCon".In my program it was "Connection Con" only.Now also i am getting the same error.I had installed new version of mysql jar file too .Now too i am getting the same error. Any idea???
Joined: Oct 04, 2007
I am getting these errors even after i had installed new version of mysql. I am unable to find where i am wrong.
Connection.java:19: incompatible types found : java.sql.Connection required: Connection conn = DriverManager.getConnection ("jdbc:mysql://192.168.1.5:3306/test","dialer","1234"); ^ Connection.java:20: cannot find symbol symbol : method createStatement() location: class Connection st = conn.createStatement(); ^
[ January 10, 2008: Message edited by: preethi Ayyappan ]