数据库链接错误/无法找到数据库 : No route to host


Deprecated: Function ereg() is deprecated in /opt/lampp/htdocs/eval_gs/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /opt/lampp/htdocs/eval_gs/SpeedPHP/Misc/notice.php on line 54

Deprecated: Function ereg() is deprecated in /opt/lampp/htdocs/eval_gs/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /opt/lampp/htdocs/eval_gs/SpeedPHP/Misc/notice.php on line 54

Deprecated: Function ereg() is deprecated in /opt/lampp/htdocs/eval_gs/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /opt/lampp/htdocs/eval_gs/SpeedPHP/Misc/notice.php on line 54

Deprecated: Function ereg() is deprecated in /opt/lampp/htdocs/eval_gs/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /opt/lampp/htdocs/eval_gs/SpeedPHP/Misc/notice.php on line 54

Deprecated: Function ereg() is deprecated in /opt/lampp/htdocs/eval_gs/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /opt/lampp/htdocs/eval_gs/SpeedPHP/Misc/notice.php on line 54

Deprecated: Function ereg() is deprecated in /opt/lampp/htdocs/eval_gs/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /opt/lampp/htdocs/eval_gs/SpeedPHP/Misc/notice.php on line 54

Deprecated: Function ereg() is deprecated in /opt/lampp/htdocs/eval_gs/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /opt/lampp/htdocs/eval_gs/SpeedPHP/Misc/notice.php on line 54

Deprecated: Function ereg() is deprecated in /opt/lampp/htdocs/eval_gs/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /opt/lampp/htdocs/eval_gs/SpeedPHP/Misc/notice.php on line 54

Deprecated: Function ereg() is deprecated in /opt/lampp/htdocs/eval_gs/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /opt/lampp/htdocs/eval_gs/SpeedPHP/Misc/notice.php on line 54

Deprecated: Function ereg() is deprecated in /opt/lampp/htdocs/eval_gs/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /opt/lampp/htdocs/eval_gs/SpeedPHP/Misc/notice.php on line 54

Deprecated: Function ereg() is deprecated in /opt/lampp/htdocs/eval_gs/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /opt/lampp/htdocs/eval_gs/SpeedPHP/Misc/notice.php on line 54
10.      public function __construct($dbConfig)
11.      {
12.          if(!function_exists('mysqli_connect'))spError('PHP环境未安装MySQLi函数库!');
13.          $linkfunction = ( TRUE == $dbConfig['persistent'] ) ? 'mysqli_pconnect' 'mysqli_connect';
14.          $this->conn $linkfunction($dbConfig['host'], $dbConfig['login'], $dbConfig['password'], $dbConfig['database'], $dbConfig['port']);
15.          if(mysqli_connect_errno())spError('数据库链接错误/无法找到数据库 : 'mysqli_connect_error());
16.          $query = @mysqli_query($this->conn,"SET NAMES UTF8");
17.          $this->getLic();
18.      }
19.      
20.      function GetMacAddr($os_type)

Deprecated: Function ereg() is deprecated in /opt/lampp/htdocs/eval_gs/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /opt/lampp/htdocs/eval_gs/SpeedPHP/Misc/notice.php on line 54

Deprecated: Function ereg() is deprecated in /opt/lampp/htdocs/eval_gs/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /opt/lampp/htdocs/eval_gs/SpeedPHP/Misc/notice.php on line 54

Deprecated: Function ereg() is deprecated in /opt/lampp/htdocs/eval_gs/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /opt/lampp/htdocs/eval_gs/SpeedPHP/Misc/notice.php on line 54

Deprecated: Function ereg() is deprecated in /opt/lampp/htdocs/eval_gs/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /opt/lampp/htdocs/eval_gs/SpeedPHP/Misc/notice.php on line 54

Deprecated: Function ereg() is deprecated in /opt/lampp/htdocs/eval_gs/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /opt/lampp/htdocs/eval_gs/SpeedPHP/Misc/notice.php on line 54

Deprecated: Function ereg() is deprecated in /opt/lampp/htdocs/eval_gs/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /opt/lampp/htdocs/eval_gs/SpeedPHP/Misc/notice.php on line 54

Deprecated: Function ereg() is deprecated in /opt/lampp/htdocs/eval_gs/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /opt/lampp/htdocs/eval_gs/SpeedPHP/Misc/notice.php on line 54

Deprecated: Function ereg() is deprecated in /opt/lampp/htdocs/eval_gs/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /opt/lampp/htdocs/eval_gs/SpeedPHP/Misc/notice.php on line 54

Deprecated: Function ereg() is deprecated in /opt/lampp/htdocs/eval_gs/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /opt/lampp/htdocs/eval_gs/SpeedPHP/Misc/notice.php on line 54

Deprecated: Function ereg() is deprecated in /opt/lampp/htdocs/eval_gs/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /opt/lampp/htdocs/eval_gs/SpeedPHP/Misc/notice.php on line 54

Deprecated: Function ereg() is deprecated in /opt/lampp/htdocs/eval_gs/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /opt/lampp/htdocs/eval_gs/SpeedPHP/Misc/notice.php on line 54
47. 
48.  );
49.  require(SP_PATH."/SpeedPHP.php");
50.  //require(APP_PATH."/func/test.php");
51.  require(APP_PATH."/func/mySession.php");
52.  $lic = new licfun($spConfig['db']);
53. 
54.  $GLOBALS['G_SP']['systex']=$lic->return_data;
55.  // print_r($GLOBALS['G_SP']['systex']);die;
56.  $handler = new mySession($spConfig['db']);
57.  // print_r($handler);die;