You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2019/12/06 04:02:42 UTC

[GitHub] [incubator-dolphinscheduler] uzdz opened a new issue #1407: DolphinScheduler1.2.0数据库初始化时抛出错误

uzdz opened a new issue #1407: DolphinScheduler1.2.0数据库初始化时抛出错误
URL: https://github.com/apache/incubator-dolphinscheduler/issues/1407
 
 
   MySQL版本:5.6
   Dolphinscheduler版本:1.2.0
   
   执行完以下步骤后:
   CREATE DATABASE dolphinscheduler DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;
   GRANT ALL PRIVILEGES ON dolphinscheduler.* TO '{user}'@'%' IDENTIFIED BY '{password}';
   GRANT ALL PRIVILEGES ON dolphinscheduler.* TO '{user}'@'localhost' IDENTIFIED BY '{password}';
   flush privileges;
   
   运行:
   sh ./script/create-dolphinscheduler.sh
   
   抛出:
   java.sql.SQLException: com.mysql.jdbc.Driver
   	at com.alibaba.druid.util.JdbcUtils.createDriver(JdbcUtils.java:620)
   	at com.alibaba.druid.pool.DruidDataSource.init(DruidDataSource.java:874)
   	at com.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:1300)
   	at com.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:1296)
   	at org.apache.dolphinscheduler.dao.upgrade.UpgradeDao.getCurrentDbType(UpgradeDao.java:80)
   	at org.apache.dolphinscheduler.dao.upgrade.UpgradeDao.<clinit>(UpgradeDao.java:45)
   	at org.apache.dolphinscheduler.dao.upgrade.DolphinSchedulerManager.initUpgradeDao(DolphinSchedulerManager.java:37)

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services