<div>Hello,</div><div><br></div><div>I'm working with OpenCms 8.0.3 and MySQL. I'm trying to connect to a schema (database) called <b>test</b> using the <b>sql</b> taglib. This the code:</div><div><br></div><div>...</div>
<div><div><%@ taglib prefix="sql" uri="<a href="http://java.sun.com/jsp/jstl/sql">http://java.sun.com/jsp/jstl/sql</a>" %></div><div><br></div><div><b><sql:query dataSource="jdbc:mysqld://localhost:3306/test,com.mysql.jdbc.Driver,user,password" </b></div>
<div><b>sql="SELECT * FROM test.cliente" var="datos" /></b></div></div><div>...</div><div><br></div><div>But the next SQLException appears:</div><div><br></div><b>Unable to get connection, DataSource invalid: "java.sql.SQLException: No suitable driver found for jdbc:mysqld://localhost:3306/test</b><div>
<b><br></b></div><div>Does somebody know the reason?</div><div><br></div><div>Thank you.</div>