[opencms-dev] Error connection

Rafael Braza Polanco rafaelbrazapolanco at gmail.com
Thu Mar 22 19:46:15 CET 2012


Hello,

I'm working with OpenCms 8.0.3 and MySQL. I'm trying to connect to a schema
(database) called *test* using the *sql* taglib. This the code:

...
<%@ taglib prefix="sql" uri="http://java.sun.com/jsp/jstl/sql" %>

*<sql:query
dataSource="jdbc:mysqld://localhost:3306/test,com.mysql.jdbc.Driver,user,password"
*
*sql="SELECT * FROM test.cliente" var="datos" />*
...

But the next SQLException appears:

*Unable to get connection, DataSource invalid: "java.sql.SQLException: No
suitable driver found for jdbc:mysqld://localhost:3306/test*
*
*
Does somebody know the reason?

Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20120322/4ffdb075/attachment.htm>


More information about the opencms-dev mailing list