New topic: 

Creating an SSL Connection in MySQL

<http://forums.realsoftware.com/viewtopic.php?t=47654>

         Page 1 of 1
   [ 1 post ]                 Previous topic | Next topic          Author  
Message        Ballyanthony          Post subject: Creating an SSL Connection 
in MySQLPosted: Sun Apr 21, 2013 3:10 am                         
Joined: Fri Apr 19, 2013 2:08 am
Posts: 2                Hi,

Does anyone have experience setting up an SSL Connection to a MySQL Database?

>From the instructions given in 6.3.6.5. Setting Up SSL Certificates and Keys 
>for MySQL here:
http://dev.mysql.com/doc/refman/5.0/en/creating-ssl-certs.html

I created the following files:
ca-cert.pem
ca-key.pem
client-cert.pem
client-key.pem
client-req.pem
server-cert.pem
server-key.pem
server-req.pem

Does anyone know how I match these file to these properties?:

dim db as new MySQLCommunityServer
db.DatabaseName="localhost"
db.UserName="chris"
db.DatabaseName="test"
db.SSLAuthorityDirectory=GetFolderItem("??????.pem")
db.SSLAuthority=GetFolderItem("??????.pem")
db.SSLCertificate=GetFolderItem("??????.pem")
db.SSLKey=GetFolderItem("??????.pem")
db.SSLMode=True
db.SSLCipher="abc123"

dim b as Boolean=db.Connect

if b Then
  MsgBox "Success!"
else
  MsgBox "(ahem)"
end if


Or should I approach this differently.

Thanks for any help,

Chris   
                             Top             Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 1 post ]      
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to