jeudi 25 février 2016

Unable to load driver: com.mysql.jdbc.Driver

I try to use Jasper to generate report in Laravel. It's work perfect if I didn't use database, if I add database to get data from mysql database he gives me an error "Unable to load driver: com.mysql.jdbc.Driver". I install JDBC Connector and Setup ODBC connection to local mysql server: enter image description here

Also I setup CLASSPATH to MySQL connector: classpath

Because laravel print me that have some error to generate pdf with database connection I change it to print output command and ran it in terminal and he gives me an error that "Unable to load driver: com.mysql.jdbc.Driver", see next picture: enter image description here

If you have ANY idea I will be grateful!



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire