简体   繁体   English

预览时带有变量的 Pentaho Report Designer 数据库连接

[英]Pentaho Report Designer Database connection with variable on preview

I set the db credentials in kettle.properties, i set the variables with credentials in data source successfully我在 kettle.properties 中设置了数据库凭据,我成功地在数据源中设置了带有凭据的变量在此处输入图像描述 but when i click preview it gives me this error, it seems that it can't recognize the variable但是当我点击预览时它给了我这个错误,它似乎无法识别变量在此处输入图像描述 This is how I declared the variables in kettle.properties这就是我在 kettle.properties 中声明变量的方式在此处输入图像描述 How can I solve?我该如何解决?

1.I just use mysql instance, your kettle.properties is right. 1.我只用了mysql实例,你的kettle.properties是对的。 在此处输入图像描述 2.Have you try to ping url of your db and login in your centos or ubuntu? 2.你有没有试过ping你的数据库的url并登录你的centos或ubuntu? 在此处输入图像描述

3.I think the most important problem is.network and authority of db in whitelist. 3.我认为最重要的问题是白名单中的网络和数据库权限。 ![在此处输入图片描述 在此处输入图像描述

4.My kettle 4.我的水壶在此处输入图像描述

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM