( ! ) Fatal error: Uncaught PDOException: SQLSTATE[HY000] [1049] Unknown database 'smart_test' in C:\Apache24\htdocs\smart_demo\modules\DBLayer\2fsql_layer_pdo.php on line 54
( ! ) PDOException: SQLSTATE[HY000] [1049] Unknown database 'smart_test' in C:\Apache24\htdocs\smart_demo\modules\DBLayer\2fsql_layer_pdo.php on line 54
Call Stack
#TimeMemoryFunctionLocation
10.0004401168{main}( )...\index.php:0
20.0011429224include_once( 'C:\Apache24\htdocs\smart_demo\kernel.php )...\index.php:12
30.0088681280load_functions( $module = 'DBLayer', $isadmin = ??? )...\kernel.php:144
40.0095693232include_once( 'C:\Apache24\htdocs\smart_demo\modules\DBLayer\functions.php )...\2fmain-sonstiges.php:377
50.0113717144sql_connect( $host = '217.160.193.164', $user = 'smart_db', $password = 'smart', $db = 'smart_test' )...\functions.php:122
60.0113717896__construct( $dsn = 'mysql:dbname=smart_test;host=217.160.193.164', $username = 'smart_db', $password = 'smart', $options = [3 => 2] )...\2fsql_layer_pdo.php:54
Variables in local scope (#5)
$db =
C:\Apache24\htdocs\smart_demo\modules\DBLayer\2fsql_layer_pdo.php:54:string 'smart_test' (length=10)
$dbi =
C:\Apache24\htdocs\smart_demo\modules\DBLayer\2fsql_layer_pdo.php:54:null
$host =
C:\Apache24\htdocs\smart_demo\modules\DBLayer\2fsql_layer_pdo.php:54:string '217.160.193.164' (length=15)
$password =
C:\Apache24\htdocs\smart_demo\modules\DBLayer\2fsql_layer_pdo.php:54:string 'smart' (length=5)
$pdo_options =
C:\Apache24\htdocs\smart_demo\modules\DBLayer\2fsql_layer_pdo.php:54:
array (size=1)
  3 => int 2
$user =
C:\Apache24\htdocs\smart_demo\modules\DBLayer\2fsql_layer_pdo.php:54:string 'smart_db' (length=8)