java.sql.sqlexception: Kein geeigneter Treiber für JDBC: mariadb: // localhost: 3306/test
Eine Hilfe? /p>
Hier ist mein einfaches Servlet < /p>
Code: Select all
Connection connection = null;
String url = "jdbc:mariadb://localhost:3306/test";
String user = "root";
String pwd = "password";
String msg = "FAILED!";
try {
connection = DriverManager.getConnection(url, user, pwd);
msg = "CONNECTED!";
} catch (SQLException e) {
e.printStackTrace();
}