RE: MySql Connection properties in eagle-service.conf
Hi Ed, Thanks, I am using 0.4 . The connection is successful using ? and then connection parameters. Will try more connection parameters those I wanted to try and will keep you posted in case I find any issue. Thanks again! Regards, Jaspaul Chahal -Original Message- From: Edward Zhang [mailto:yonzhang2...@apache.org] Sent: Wednesday, September 21, 2016 11:38 AM To: dev@eagle.incubator.apache.org Cc: Subra Ramesh Subject: Re: MySql Connection properties in eagle-service.conf In order not to block your current work, maybe you can try to config storage-connection-url to append extra connection properties, for example the following url="jdbc:mysql://localhost/eagle_db?useUnicode=yes&characterEncoding=utf8" On Wed, Sep 21, 2016 at 11:26 AM, Edward Zhang wrote: > This connection-props is not applied in the code, but it should be > appended to end of connection string. I am looking into the place > where we can hook this configuration. Are you using Eagle 0.3? > > Thanks > Edward > > On Wed, Sep 21, 2016 at 10:51 AM, Jaspaul Chahal > > wrote: > >> Anyone from Apache Eagle team please? >> >> Regards, >> Jaspaul >> >> From: Jaspaul Chahal >> Sent: Tuesday, September 20, 2016 5:26 PM >> To: dev@eagle.incubator.apache.org >> Cc: Subra Ramesh (sram...@dataguise.com) >> Subject: MySql Connection properties in eagle-service.conf >> >> Hello Team, >> >> It's regarding MySql as backend repo fro Apache Eagle. >> >> In eagle-service.conf file for MySql we have the following property: >>storage-connection-props="encoding=UTF-8" >> >> But, I couldn't find the code using this property for the connection >> creation in >> TorqueConnectionManagerImpl.buildConfiguration(ConnectionConfig >> config) . >> >> Can someone please point me to the code where we are using this >> connection properties for the connection. I need to pass some extra >> connection parameters for MySql. >> >> Thanks in advance! >> >> Regards, >> Jaspaul Chahal >> > >
Re: MySql Connection properties in eagle-service.conf
In order not to block your current work, maybe you can try to config storage-connection-url to append extra connection properties, for example the following url="jdbc:mysql://localhost/eagle_db?useUnicode=yes&characterEncoding=utf8" On Wed, Sep 21, 2016 at 11:26 AM, Edward Zhang wrote: > This connection-props is not applied in the code, but it should be > appended to end of connection string. I am looking into the place where we > can hook this configuration. Are you using Eagle 0.3? > > Thanks > Edward > > On Wed, Sep 21, 2016 at 10:51 AM, Jaspaul Chahal > wrote: > >> Anyone from Apache Eagle team please? >> >> Regards, >> Jaspaul >> >> From: Jaspaul Chahal >> Sent: Tuesday, September 20, 2016 5:26 PM >> To: dev@eagle.incubator.apache.org >> Cc: Subra Ramesh (sram...@dataguise.com) >> Subject: MySql Connection properties in eagle-service.conf >> >> Hello Team, >> >> It's regarding MySql as backend repo fro Apache Eagle. >> >> In eagle-service.conf file for MySql we have the following property: >>storage-connection-props="encoding=UTF-8" >> >> But, I couldn't find the code using this property for the connection >> creation in TorqueConnectionManagerImpl.buildConfiguration(ConnectionConfig >> config) . >> >> Can someone please point me to the code where we are using this >> connection properties for the connection. I need to pass some extra >> connection parameters for MySql. >> >> Thanks in advance! >> >> Regards, >> Jaspaul Chahal >> > >
Re: MySql Connection properties in eagle-service.conf
This connection-props is not applied in the code, but it should be appended to end of connection string. I am looking into the place where we can hook this configuration. Are you using Eagle 0.3? Thanks Edward On Wed, Sep 21, 2016 at 10:51 AM, Jaspaul Chahal wrote: > Anyone from Apache Eagle team please? > > Regards, > Jaspaul > > From: Jaspaul Chahal > Sent: Tuesday, September 20, 2016 5:26 PM > To: dev@eagle.incubator.apache.org > Cc: Subra Ramesh (sram...@dataguise.com) > Subject: MySql Connection properties in eagle-service.conf > > Hello Team, > > It's regarding MySql as backend repo fro Apache Eagle. > > In eagle-service.conf file for MySql we have the following property: >storage-connection-props="encoding=UTF-8" > > But, I couldn't find the code using this property for the connection > creation in TorqueConnectionManagerImpl.buildConfiguration(ConnectionConfig > config) . > > Can someone please point me to the code where we are using this connection > properties for the connection. I need to pass some extra connection > parameters for MySql. > > Thanks in advance! > > Regards, > Jaspaul Chahal >
RE: MySql Connection properties in eagle-service.conf
Anyone from Apache Eagle team please? Regards, Jaspaul From: Jaspaul Chahal Sent: Tuesday, September 20, 2016 5:26 PM To: dev@eagle.incubator.apache.org Cc: Subra Ramesh (sram...@dataguise.com) Subject: MySql Connection properties in eagle-service.conf Hello Team, It's regarding MySql as backend repo fro Apache Eagle. In eagle-service.conf file for MySql we have the following property: storage-connection-props="encoding=UTF-8" But, I couldn't find the code using this property for the connection creation in TorqueConnectionManagerImpl.buildConfiguration(ConnectionConfig config) . Can someone please point me to the code where we are using this connection properties for the connection. I need to pass some extra connection parameters for MySql. Thanks in advance! Regards, Jaspaul Chahal
MySql Connection properties in eagle-service.conf
Hello Team, It's regarding MySql as backend repo fro Apache Eagle. In eagle-service.conf file for MySql we have the following property: storage-connection-props="encoding=UTF-8" But, I couldn't find the code using this property for the connection creation in TorqueConnectionManagerImpl.buildConfiguration(ConnectionConfig config) . Can someone please point me to the code where we are using this connection properties for the connection. I need to pass some extra connection parameters for MySql. Thanks in advance! Regards, Jaspaul Chahal