kettle 连接mysql8.x数据库,发生access denied for"账户"错误等问题
2020-06-12 04:21
1716 查看
解决办法:
1、下载mysql-connector-java-8.0.x.jar,放到kettle的 data-integration\lib目录下,并重启kettle程序。
2、对于 8.x 版本的 MySQL,jdbc 连接驱动方式有所变化,不能使用现有的 MySQL 连接配置方式,需要使用自定义 jdbc 连接方式**(kettle 创建数据库连接时类型选择Generic Database)很重要**,jdbc驱动jar需要使用8.x.jar
jdbc.driver=com.mysql.cj.jdbc.Driver(驱动包类型)
jdbc.url=jdbc:mysql://localhost:3306/数据库实例?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai&zeroDateTimeBehavior=CONVERT_TO_NULL
jdbc.username=数据库账户名
jdbc.password=数据库密码
相关文章推荐
- 出现错误 连接MySQL数据库,出现问题:Access denied for user 'root'@'localhost' (using password:YES)
- 解决Navicat for MySQL打开连接时出现错误提示1045 access denied for user 'root'@'localhost' (using password yes)的问题
- jdbc 连接数据库出现 密码错误的问题(java.sql.SQLException: Access denied for user 'root'@'localhost' (using passwo)
- Navicat远程连接阿里云上Mariadb数据库时,出现错误:1045-Access denied for user 'root'@'localhost'解决方法
- JSP连接MySQL时错误:Access denied for user 'root'@'localhost' (using password: YES)'解决方案
- Navicat for Mysql建立本地连接出现 1045 -Access denied for user'root'@'ipAddress'(using password :yes) 的问题
- Navicat连接数据库错误:1045 access denied for user 'root'@'localhost' using password yes
- MYSQL连接Pycharm错误:Access denied for user 'root'@'localhost' (using password:YES)
- mysql Access denied for user root@localhost错误解决方法总结 原创 2016年07月06日 17:00:40 41843 问题重现(以下讨论范围仅限Windo
- 遇到问题---mysql账户密码以及权限的问题 ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using passwor
- JSP连接MySQL时出现--错误:Access denied for user 'root'@'localhost' (using password: YES)'解决方案
- ubuntu 系统解决mysql连接问题(ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password:
- Mysql安装发生「Access denied for user ‘root’@’localhost’ (using password: NO)」错误
- 解决jmeter连接mysql提示Access denied for user 'root'@'112.51.25.126' (using password: YES)的问题
- 打开Navicat Premium连接mysql出现1045-Access denied for user 'root'@ 'localhost'(using password:YES)错误解决方法
- Navicat for Mysql建立本地连接出现 1045 -Access denied for user'root'@'ipAddress'(using password :yes) 的问题
- ubuntu 系统解决mysql连接问题(ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password:
- java连接数据库出现的Access denied for user 'hc??'@'localhost' (using password: YES)问题
- Suse发生了错误Access denied for user ''@'localhost' to&
- sphinx在建立索引时出现ERROR: index 'xxx': sql_connect: Access denied for user 'xxx'@'localhost' 不能连接数据库的错误解决