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.