You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@eagle.apache.org by Jaspaul Chahal <ja...@dataguise.com> on 2016/09/21 00:25:57 UTC

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

Posted by Jaspaul Chahal <ja...@dataguise.com>.
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:yonzhang2012@apache.org] 
Sent: Wednesday, September 21, 2016 11:38 AM
To: dev@eagle.incubator.apache.org
Cc: Subra Ramesh <sr...@dataguise.com>
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&amp;characterEncoding=utf8"


On Wed, Sep 21, 2016 at 11:26 AM, Edward Zhang <yo...@apache.org>
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 
> <ja...@dataguise.com>
> 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 (sramesh@dataguise.com) <sr...@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

Posted by Edward Zhang <yo...@apache.org>.
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&amp;characterEncoding=utf8"


On Wed, Sep 21, 2016 at 11:26 AM, Edward Zhang <yo...@apache.org>
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 <ja...@dataguise.com>
> 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 (sramesh@dataguise.com) <sr...@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

Posted by Edward Zhang <yo...@apache.org>.
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 <ja...@dataguise.com>
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 (sramesh@dataguise.com) <sr...@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

Posted by Jaspaul Chahal <ja...@dataguise.com>.
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 (sramesh@dataguise.com) <sr...@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