如何使用 AWS 数据管道解决 "DriverClass not found for database:mariadb"?

How to solve "DriverClass not found for database:mariadb" with AWS data pipeline?

我正在尝试使用 AWS Data Pipelines(然后是 Glue)并正在关注 Copy MySQL Data Using the AWS Data Pipeline Console。但是,当我执行管道时,我得到

DriverClass not found for database:mariadb

我希望这样 "just work," 但为什么它不提供自己的驱动程序?或者 MySQL 的驱动程序不等于 MariaDB 的驱动程序?

对了,折腾了一整天后,我发现下面的link解决了这个问题:https://forums.aws.amazon.com/thread.jspa?messageID=834603&tstart=0

基本上: 您收到错误是因为您正在使用 RdsDatabase,在使用 mariadb 时它需要是 JdbcDatabase。

"type": "JdbcDatabase", "connectionString": "jdbc:mysql://thing-master.cpbygfysczsq.eu-west-1.rds.amazonaws.com:3306/db_name", "jdbcDriverClass" : "com.mysql.jdbc.Driver"

全部归功于 Webstar34 (https://forums.aws.amazon.com/profile.jspa?userID=452398)