Is it possible to establish a SSL connection to a PostgreSQL
or mySQL DB? Any references or examples would be appreciated.
SSL Connection to remote DB
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: SSL Connection to remote DB
not fully tested but dont you just add SSL
put revOpenDatabase("MySQL",server.com,"databasename","username","password",useSSL)
From the documentation: determines whether a connection to a MySQL database uses SSL for the connection. If useSSL is not specified, the connection uses SSL. If the databaseType is not "MySQL", this parameter has no effect.
I'm beginning to wonder if the wording is backwards and it should say is useSSL is specified instead of is not specified.
I'd like to hear everyone elses feedback on this.
put revOpenDatabase("MySQL",server.com,"databasename","username","password",useSSL)
From the documentation: determines whether a connection to a MySQL database uses SSL for the connection. If useSSL is not specified, the connection uses SSL. If the databaseType is not "MySQL", this parameter has no effect.
I'm beginning to wonder if the wording is backwards and it should say is useSSL is specified instead of is not specified.
I'd like to hear everyone elses feedback on this.
Deving on WinVista Home Prem. SP2 32 bit. Using LiveCode 4.6.1 Pro Build 1392
Re: SSL Connection to remote DB
Me too!jesse wrote:I'd like to hear everyone elses feedback on this.
Hey-- Where did you find that documentation?
There's nothing in the Dictionary for "useSSL".
Nothing in the User Guide. I even did a Google
search for "livecode useSSL". What documentation?
Re: SSL Connection to remote DB
jesse wrote: put revOpenDatabase("MySQL",server.com,"databasename","username","password",useSSL)
watch out. You have to put "true", not "useSSL).
From the doc : " When connecting to MySQL databases the databaseSpecificOption specifies whether to use SSL for the connection or not, the default is false"
Re: SSL Connection to remote DB
noted. thanks.
Deving on WinVista Home Prem. SP2 32 bit. Using LiveCode 4.6.1 Pro Build 1392