如下所示,提示jdbc的jar包不存在:但是实际上通过ll命令可以看到,jar包在对应目录下是存在的
MySQL [(none)]> CREATE CATALOG mysql PROPERTIES (
-> "type"="jdbc",
-> "user"="root",
-> "password"="doris",
-> "jdbc_url" = "jdbc:mysql://10.19.95.36:3306",
-> "driver_url" = "mysql-connector-j-8.0.31.jar",
-> "driver_class" = "com.mysql.cj.jdbc.Driver"
-> )
-> ;
ERROR 1105 (HY000): errCode = 2, detailMessage = compute driver checksum from url: mysql-connector-j-8.0.31.jar meet an IOException: /data5/doris/apache-doris-2.1.7-bin-x64/fe/jdbc_drivers/mysql-connector-j-8.0.31.jar (No such file or directory)
MySQL [(none)]>
MySQL [(none)]>
MySQL [(none)]> exit
Bye
[root@phy1 ~]# ll /data5/doris/apache-doris-2.1.7-bin-x64/fe/jdbc_drivers/mysql-connector-j-8.0.31.jar
-rwxrwxrwx 1 root root 2515519 Mar 6 17:29 /data5/doris/apache-doris-2.1.7-bin-x64/fe/jdbc_drivers/mysql-connector-j-8.0.31.jar
[root@phy1 ~]#