> 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.
You will need to set the DATABASE_OPTIONS setting with a dictionary. See these two docs: http://www.djangoproject.com/documentation/settings/#database-options http://mysql-python.sourceforge.net/MySQLdb.html#functions-and-attributes -RD --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

