> 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-attrib...
>
> -RD
Thank you. That worked perfectly.
For
> 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
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
3 matches
Mail list logo