PDOException Object
(
[message:protected] => SQLSTATE[HY000] [2002] Only one usage of each socket address (protocol/network address/port) is normally permitted
[string:Exception:private] =>
[code:protected] => 2002
[file:protected] => C:\xampp\htdocs\Website\topwebviet.com\Project\Common\DB.php
[line:protected] => 12
[trace:Exception:private] => Array
(
[0] => Array
(
[file] => C:\xampp\htdocs\Website\topwebviet.com\Project\Common\DB.php
[line] => 12
[function] => __construct
[class] => PDO
[type] => ->
[args] => Array
(
[0] => mysql:host=localhost;dbname=lsite
[1] => root
[2] => SensitiveParameterValue Object
)
)
[1] => Array
(
[file] => C:\xampp\htdocs\Website\topwebviet.com\Project\Common\ConfigValue.php
[line] => 79
[function] => Connect
[class] => DB
[type] => ->
[args] => Array
(
[0] => localhost
[1] => lsite
[2] => root
[3] =>
)
)
[2] => Array
(
[file] => C:\xampp\htdocs\Website\topwebviet.com\Project\Common\ConfigValue.php
[line] => 9
[function] => ConfigDatabase
[class] => ConfigValue
[type] => ->
[args] => Array
(
)
)
[3] => Array
(
[file] => C:\xampp\htdocs\Website\topwebviet.com\index.php
[line] => 12
[function] => __construct
[class] => ConfigValue
[type] => ->
[args] => Array
(
)
)
)
[previous:Exception:private] =>
[errorInfo] => Array
(
[0] => HY000
[1] => 2002
[2] => Only one usage of each socket address (protocol/network address/port) is normally permitted
)
)
Tập tin C:\xampp\htdocs\Website\topwebviet.com\Project\Common\DB.php lỗi ở dòng thứ 17
Cấp độ lỗi: 1024Mã lỗi: Không thể kết nối với cơ sở dữ liệu