[2002]Error in aphp/core/db/Connection.php
Line 56:
SQLSTATE[HY000] [2002] No such file or directory
Debug Trace:
- #0 public/index.php(13): aphp\core\App->boot()
- #1 aphp/core/App.php(40): aphp\core\Route->dispatch()
- #2 aphp/core/Route.php(169): ReflectionMethod->invokeArgs()
- #3 app\index\controller\Categories->detail()
- #4 app/index/controller/Categories.php(21): db()
- #5 aphp/helper.php(385): aphp\core\Db::connect()
- #6 aphp/core/Db.php(25): aphp\core\db\Query::init()
- #7 aphp/core/Single.php(36): aphp\core\db\Query->__construct()
- #8 aphp/core/db/Query.php(46): aphp\core\db\Connection::init()
- #9 aphp/core/Single.php(36): aphp\core\db\Connection->__construct()
- #10 aphp/core/db/Connection.php(45): aphp\core\db\Connection->connect()
- #11 aphp/core/db/Connection.php(56): PDO->__construct()