I am trying to develop my first Database accessing software.
Here is the code that I am using to connect to Database:
|
Source code
|
1
2
3
|
java#lang#Class.forName("com.mysql.jdbc.Driver")
conn = DriverManager.getConnection("jdbc:mysql://localhost/crm", "root", "")
st = conn.createStatement()
|
When I run my software it keeps giving error class not found exception.
What mistake am I doing here?
How can I access SQLite database easily and what dependency do I have to install on my PC?
TIA
Yogi Yang