How To Fix Error : following error has occured: No suitable driver found for jdbc:mysql://localhost/dbname in Java

9/21/2016 03:28:00 PM
Cara memberbaiki error : following error has occured: No suitable driver found for jdbc:mysql://localhost/dbname di Java

This is Simple Solution about your problem, when you run the program the library mysql in folder lib, not found, like as you copy only the file.jar in to another directory, BUT the folder lib  in file.jar directory not copied and that can make error.

The solution, you copy the folder lib and paste in same directory with your file.jar.

======
Cara memberbaiki error : following error has occured: No suitable driver found for jdbc:mysql://localhost/dbname di Java

Solusinya simple, compile ulang , dan jika ingin memindahkan file.jar, pindahkan juga folder yang bernama lib  di direktori yang sama dengan file.jar .

IP Kamu Adalah :

Share this

Tidak ada hal yang spesial, cuman Blogger yang hanya sebatas tau tentang dunia Programer

Related Posts

Previous
Next Post »