First of all, I introduce myself. I am Jordi, from Barcelona, Spain. I started working with PHP ActivRecord only one month ago, and I feel it very easy to use and sincerely, it gave me a lot of time I sure would have lost without him.
My question now is that I wanted to make a Secure connection with SSL or something else from the host that is hosting the website to another host which is hosting de DB. Is this possible?
Subject: MySQL Secure connection
Hi everyone,
First of all, I introduce myself. I am Jordi, from Barcelona, Spain. I started working with PHP ActivRecord only one month ago, and I feel it very easy to use and sincerely, it gave me a lot of time I sure would have lost without him.
My question now is that I wanted to make a Secure connection with SSL or something else from the host that is hosting the website to another host which is hosting de DB. Is this possible?
I have right now this code:
ActiveRecord\Config::initialize(function($cfg) {
$cfg->set_model_directory('activerecord/models');
$cfg->set_connections(array('development' => 'mysql://$USER:$PASSWORD@$HOST/$DB_NAME'));
});
Is there anything that can make me able to connect securely?
Thank you in advance, and sorry for the code, I don't know how to change format, I didn't find it.
Jordi.