Skip to content

PDO error #11

@erixtekila

Description

@erixtekila

From last git version, PDO raise an exception at launch :

uncaught exception: SQLSTATE[HY000] [2002] No such file or directory

in file: /Volumes/soto/eric/Taf/__lab__/haxe/haxejs/08-hello-ufront/www/php/php/db/_PDO/PDOConnection.class.php line 7
#0 /Volumes/soto/eric/Taf/__lab__/haxe/haxejs/08-hello-ufront/www/php/php/db/_PDO/PDOConnection.class.php(7): PDO->__construct('mysql:host=loca...', 'ufront', 'ufront')
#1 /Volumes/soto/eric/Taf/__lab__/haxe/haxejs/08-hello-ufront/www/php/php/db/PDO.class.php(6): php_db__PDO_PDOConnection->__construct('mysql:host=loca...', 'ufront', 'ufront', NULL)
#2 /Volumes/soto/eric/Taf/__lab__/haxe/haxejs/08-hello-ufront/www/php/sys/db/Mysql.class.php(16): php_db_PDO::open('mysql:host=loca...', 'ufront', 'ufront', NULL)
#3 /Volumes/soto/eric/Taf/__lab__/haxe/haxejs/08-hello-ufront/www/php/Server.class.php(17): sys_db_Mysql::connect(Object(_hx_anonymous))
#4 /Volumes/soto/eric/Taf/__lab__/haxe/haxejs/08-hello-ufront/www/php/Server.class.php(14): Server::run()
#5 /Volumes/soto/eric/Taf/__lab__/haxe/haxejs/08-hello-ufront/www/index.php(9): Server::main()
#6 {main}

The mysql.json is correct.
I achieve to connect from neko server with the same settings.

I build the output from haxe 3.2.0. Any issue with PDO there ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions