I just can't find how to do this.

I set up a mysql user on the remote mysql host this way:

GRANT ALL on somedatabase.* TO 'ssluser'@'remote_ip_address'
IDENTIFIED BY 'some_password' REQUIRE SSL;

from the local mysql client I connect like this:

mysql -u ssluser -p -h remote_ip_address --ssl-ca=/etc/mysql/
cacert.pem

I can't figure out how to get the '--ssl-ca=/etc/mysql/cacert.pem'
flag into Django settings file.

I can connect to the remote database with Django without encryption,
but what fun is that.

Thanks, TOD
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to