Tarmo, how has RDS been working out for you as the weewx database? I've
been thinking about giving it a try.
On Monday, March 23, 2015 at 10:43:15 AM UTC-7, Tarmo wrote:
>
> Thanks! It works.
>
> I'm using Amazon RDS which responds using ssl on the standard port.
>
>
> On Monday, March 23, 2015 at 7:20:55 PM UTC+2, mwall wrote:
>>
>> On Monday, March 23, 2015 at 12:56:56 PM UTC-4, Tarmo wrote:
>>>
>>> Still struggling to get ssl parameter syntax right. Does anyone have any
>>> idea what could be wrong here.
>>>
>>> [[archive_mysql]]
>>> host = myservername
>>> user = myusername
>>> password = mypassword
>>> database_name = weewx
>>> driver = weedb.mysql
>>> ssl = {'ca':'/etc/ssl/certs/myserver-cert.pem',}
>>>
>>>
>>>
>>>
>> the syntax for the config file would be like this:
>>
>> [[archive_mysql]]
>> host = servername
>> user = username
>> password = pw
>> database_name = weewx
>> driver = weedb.mysql
>> [[[ssl]]]
>> ca = /etc/ssl/certs/server-cert.pem
>>
>> however, i'm not sure whether any stanza beneath archive_mysql will
>> expand properly into a dict - see comments in bin/weedb/__init__.py
>>
>> did you have to specify a port or does your mysql server respond using
>> ssl on the standard port of 3306?
>>
>> http://mysql-python.sourceforge.net/MySQLdb.html
>>
>> m
>>
>> m
>>
>>>
>>>
>>> On Thursday, March 12, 2015 at 8:38:29 PM UTC+2, Tarmo wrote:
>>>>
>>>> I would like to pass 'ssl_ca' argument to mysql connector. Is this
>>>> possible without hacking the core?
>>>>
>>>>
--
You received this message because you are subscribed to the Google Groups
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.