PHPRunner version 10.x : ConnectionManager.php
protected function _setConnectionsData() { // content of this function can be modified on demo account // variable names $data and $connectionsData are important $connectionsData = array(); $data = array(); $data["dbType"] = 0; $data["connId"] = "Tables"; $data["connName"] = "crm2017 at 00.00.00.00"; $data["connStringType"] = "mysql"; $data["connectionString"] = "mysql;00.00.00.00;crm;scale-UP;;crm2017;;1"; //currently unused $this->_connectionsIdByName["crm2017 at 00.00.00.00"] = "Tables"; $data["connInfo"] = array(); $data["ODBCUID"] = "crm"; $data["ODBCPWD"] = "scale-UP"; $data["leftWrap"] = "`"; $data["rightWrap"] = "`"; $data["DBPath"] = "db"; //currently unused $data["useServerMapPath"] = 1; //currently unused $data["connInfo"][0] = "00.00.00.00"; $data["connInfo"][1] = "crm"; $data["connInfo"][2] = "scale-UP"; $data["connInfo"][3] = ""; $data["connInfo"][4] = "crm2017"; $data["connInfo"][5] = ""; //currently unused $data["connInfo"][6] = "1"; //currently unused $data["ODBCString"] = "DRIVER={MySQL ODBC 5.1 Driver};Server=00.00.00.00;Uid=crm;Pwd=scale-UP;Database=crm2017;OPTION=3"; // encription set $data["EncryptInfo"] = array(); $data["EncryptInfo"]["mode"] = 0; $data["EncryptInfo"]["alg"] = 128; $data["EncryptInfo"]["key"] = ""; $connectionsData["Tables"] = $data; $this->_connectionsData = $connectionsData; }