kettle8.3 win7环境下安装的注意点
2021-01-20 01:11
标签:java variable grant serve perm install connector 安装mysql mysql服务器 kettle的安装很简单,到官网下载解压即可。只是启动时可能碰到一些问题,需要注意一下: 创建数据库连接时,以mysql为例,如果连接测试时提示下面信息,说明缺少数据库连接的jar包,需要安装mysql的驱动jar包,下载地址:https://dev.mysql.com/downloads/connector/j/ 错误连接数据库 [loan] : org.pentaho.di.core.exception.KettleDatabaseException: 下载后安装到\kettle8.3\data-integration\libswt\win64下面(64位机器),重启Spoon。 错误连接数据库 [loan] : org.pentaho.di.core.exception.KettleDatabaseException: Error connecting to database: (using class org.gjt.mm.mysql.Driver) org.pentaho.di.core.exception.KettleDatabaseException: Error connecting to database: (using class org.gjt.mm.mysql.Driver) 之后刷新权限使其生效 The server time zone value ‘Öйú±ê׼ʱ¼ä‘ is unrec,time zone 如果错误信息中含有如上的提示,可以判断是MySQL时区的问题,可进行查看及配置。 kettle8.3 win7环境下安装的注意点 标签:java variable grant serve perm install connector 安装mysql mysql服务器 原文地址:https://www.cnblogs.com/zjfjava/p/12149658.html1. 启动时执行Spoon.bat一闪而退
#需要编辑Spoon.bat,在其中找到该行,根据自己机器配置进行内存大小的调整
if "%PENTAHO_DI_JAVA_OPTIONS%"=="" set PENTAHO_DI_JAVA_OPTIONS="-Xms1024m" "-Xmx2048m" "-XX:MaxPermSize=256m"
2. jar包缺失
Error occurred while trying to connect to the database
Driver class ‘org.gjt.mm.mysql.Driver‘ could not be found, make sure the ‘MySQL‘ driver (jar file) is installed.
org.gjt.mm.mysql.Driver3. 数据库本身配置问题,通过root用户连接但未开通远程权限
Error occurred while trying to connect to the database
Unknown database ‘loan‘
Error occurred while trying to connect to the database
Unknown database ‘loan‘-- 允许root使用密码从任何主机连接到MySQL服务器
mysql> GRANT ALL PRIVILEGES ON *.* TO ‘root‘@‘%‘ IDENTIFIED BY ‘123‘ WITH GRENT OPTION;
-- 允许root使用密码从IP为172.16.16.120的主机远程连接到MySQL服务器的loan库
mysql> GRANT ALL PRIVILEGES ON loan.* TO ‘root‘@‘172.16.16.120‘ IDENTIFIED BY ‘123‘ WITH GRENT OPTION;
mysql> FLUSH PRIVILEGES;
4. MySQL时区问题
show variables like ‘%time_zone%‘;
set global time_zone=‘+8:00‘;
文章标题:kettle8.3 win7环境下安装的注意点
文章链接:http://soscw.com/index.php/essay/44306.html