Connecting to dsn:
mysql:host=localhost;dbname=test;
( ! ) Fatal error: Uncaught PDOException: Could not connect to database, hiding connection details. Connect using 'debug' to see the full exception message. in /home/saxon/teachers/com/mosstud/www/kod-exempel/anax-test/vendor/mos/cdatabase/src/Database/CDatabaseBasic.php on line 107
( ! ) PDOException: Could not connect to database, hiding connection details. Connect using 'debug' to see the full exception message. in /home/saxon/teachers/com/mosstud/www/kod-exempel/anax-test/vendor/mos/cdatabase/src/Database/CDatabaseBasic.php on line 107
Call Stack
#TimeMemoryFunctionLocation
10.0007360984{main}( ).../testMySQL.php:0
20.0063364672require( '/home/saxon/teachers/com/mosstud/www/kod-exempel/anax-test/vendor/mos/cdatabase/webroot/testDatabaseQueries.php ).../testMySQL.php:30
30.0063365408Mos\Database\CDatabaseBasic->connect( $debug = ??? ).../testDatabaseQueries.php:6