← Back to team overview

phpdevshell team mailing list archive

Re: [Question #209172]: How can I interact with a remote database in my own plugins?

 

Question #209172 on PHPDevShell changed:
https://answers.launchpad.net/phpdevshell/+question/209172

    Status: Open => Answered

Greg proposed the following answer:
Sorry I misled you. Please try something like this:

class test_connector extends PHPDS_legacyConnector
{
	protected function applyConfig($db_config = '')
	{
		$this->dbHost = "localhost";
		$this->dbName = "test";
		$this->dbUsername = "username";
		$this->dbPassword = "userpassword";
	}
}

-- 
You received this question notification because you are a member of
PHPDevShell, which is an answer contact for PHPDevShell.