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.
A simple connection with DriverManager.getConnection("jdbc:mysql://localhost/dbname","root","password"); is giving the error no suitable driver found for jdbc:my........./dbname
All Java programs are running fine. MySQL too is working and giving all query results. Both are woking well when separate. But problem is arising only when i wish to connect both of them.