Securing remote mysql connection

前端 未结 2 448
萌比男神i
萌比男神i 2021-01-06 19:33

I\'m in the unfortunate position of having to sync a local microsoft access database with a remote mysql database.

I have written a php script which will sync the da

2条回答
  •  抹茶落季
    2021-01-06 20:07

    You can use secure connection to MySQL:

    MySQL side: http://dev.mysql.com/doc/refman/5.5/en/secure-connections.html

    PHP side: http://php.net/manual/en/mysqli.real-connect.php (MYSQLI_CLIENT_SSL flag)

    I have not worked with SSL connections to MySQL with PHP, but, I think it is not hard to find needed information on http://php.net, http://dev.mysql.com and http://google.com

    Update

    This may help: http://www.madirish.net/node/244, PHP to MySQL SSL Connections, http://www.php.net/manual/en/mysqli.ssl-set.php

提交回复
热议问题