PDOException Object ( [message:protected] => SQLSTATE[HY000] [2005] Unknown MySQL server host '10.51.13.242=3306' (0) [string:Exception:private] => [code:protected] => 2005 [file:protected] => /phpstudy/www/new.17sucai.com/application/index/services/Category.php [line:protected] => 195 [trace:Exception:private] => Array ( [0] => Array ( [function] => __construct [class] => PDO [type] => -> [args] => Array ( [0] => mysql:host=10.51.13.242=3306;dbname=www_17sucai_com;charset=utf8 [1] => www_17sucai_com [2] => kyNpTzxz7r [3] => Array ( ) ) ) [1] => Array ( [function] => __construct [class] => Yax\Db [type] => -> [args] => Array ( [0] => mysql:host=10.51.13.242=3306;dbname=www_17sucai_com;charset=utf8 [1] => www_17sucai_com [2] => kyNpTzxz7r [3] => Array ( ) ) ) [2] => Array ( [function] => newInstanceArgs [class] => ReflectionClass [type] => -> [args] => Array ( [0] => Array ( [0] => mysql:host=10.51.13.242=3306;dbname=www_17sucai_com;charset=utf8 [1] => www_17sucai_com [2] => kyNpTzxz7r [3] => Array ( ) ) ) ) [3] => Array ( [function] => build [class] => Yax\Di [type] => -> [args] => Array ( [0] => Yax\Db [1] => Array ( [dsn] => mysql:host=10.51.13.242=3306;dbname=www_17sucai_com;charset=utf8 [user] => www_17sucai_com [password] => kyNpTzxz7r [options] => Array ( ) ) ) ) [4] => Array ( [function] => resolve [class] => Yax\Di [type] => -> [args] => Array ( [0] => Yax\Db Object ( [sql:protected] => [bind] => Array ( ) [error] => [client:protected] => PDO Object ( ) [conditions:protected] => Array ( ) [model:protected] => [id:protected] => id ) ) ) [5] => Array ( [function] => set [class] => Yax\Di [type] => -> [args] => Array ( [0] => db [1] => Array ( [Yax\Db] => Array ( [dsn] => mysql:host=10.51.13.242=3306;dbname=www_17sucai_com;charset=utf8 [user] => www_17sucai_com [password] => kyNpTzxz7r [options] => Array ( ) ) ) ) ) [6] => Array ( [function] => get [class] => Yax\Di [type] => -> [args] => Array ( [0] => db ) ) [7] => Array ( [function] => __construct [class] => Yax\Mvc\Model [type] => -> [args] => Array ( ) ) [8] => Array ( [file] => /phpstudy/www/new.17sucai.com/application/index/services/Category.php [line] => 195 [function] => find [class] => Yax\Mvc\Model [type] => :: [args] => Array ( ) ) [9] => Array ( [file] => /phpstudy/www/new.17sucai.com/application/models/Tags.php [line] => 178 [function] => getChildId [class] => index\services\Category [type] => :: [args] => Array ( [0] => 44 ) ) [10] => Array ( [file] => /phpstudy/www/new.17sucai.com/application/index/controllers/Tags.php [line] => 109 [function] => getPinsByTagId [class] => models\Tags [type] => :: [args] => Array ( [0] => models\Tags Object ( [from:protected] => m_base_tags [link:protected] => db_read [data:protected] => Array ( [id] => 5656 [name] => css3绘图 [category_id] => 44 [user_id] => 0 [type] => 3 [view_count] => 0 [status] => 0 [is_index] => 0 [is_index_hot] => 0 ) [db:protected] => Yax\Db Object ( [sql:protected] => [bind] => Array ( ) [error] => Array ( [0] => 00000 [1] => [2] => ) [client:protected] => PDO Object ( ) [conditions:protected] => [model:protected] => models\Tags [id:protected] => id ) [primary:protected] => id [filters:protected] => Array ( ) [fields:protected] => Array ( ) [relations:protected] => Array ( ) [labels:protected] => Array ( ) [rules:protected] => Array ( [category_id] => required|digit [name] => required|length:2,60 [user_id] => digit [type] => digit [view_count] => digit [status] => in:0,1 ) [select:protected] => [messages:protected] => Array ( ) ) [1] => count [2] => 1 [3] => Array ( [0] => 44 ) ) ) [11] => Array ( [function] => IndexAction [class] => TagsController [type] => -> [args] => Array ( ) ) [12] => Array ( [function] => run [class] => Yaf\Application [type] => -> [args] => Array ( ) ) [13] => Array ( [file] => /phpstudy/www/new.17sucai.com/public/index/index.php [line] => 30 [function] => run [class] => Yax\Yax [type] => -> [args] => Array ( ) ) ) [previous:Exception:private] => [errorInfo] => )