DMXzone App Connect Support Product Page

error pdo php

Reported 07 May 2018 13:02:05
1
has this problem
07 May 2018 13:02:05 henry Lebers posted:
Hello,

After i've changed the connection string to mysql and upload my website, when i load my pages i see this:


code 2002
file "/homepages/0/d728246153/htdocs/GRATISSIMMO/dmxConnectLib/lib/db/Connection.php"
line 49
message "SQLSTATE[HY000] [2002] No such file or directory"
trace "#0 /homepages/0/d728246153/htdocs/GRATISSIMMO/dmxConnectLib/lib/db/Connection.php(49): PDO->__construct('mysql:host:db72...', '', 'MYPASS', Array)\n#1 /homepages/0/d728246153/htdocs/GRATISSIMMO/dmxConnectLib/modules/dbconnector.php(12): lib\\db\\Connection->__construct(Object(lib\\App), Object(stdClass))\n#2 /homepages/0/d728246153/htdocs/GRATISSIMMO/dmxConnectLib/lib/App.php(159): modules\\dbconnector->connect(Object(stdClass), 'connection1')\n#3 /homepages/0/d728246153/htdocs/GRATISSIMMO/dmxConnectLib/lib/App.php(128): lib\\App->execSteps('Connections/con...')\n#4 /homepages/0/d728246153/htdocs/GRATISSIMMO/dmxConnectLib/lib/App.php(98): lib\\App->execSteps(Array)\n#5 /homepages/0/d728246153/htdocs/GRATISSIMMO/Espace_Annonce_Ajouter.php(19): lib\\App->exec('{\\r\\n\\t\"steps\": [\\r...', true)\n#6 {main}"

Replies

Replied 08 May 2018 06:51:32
08 May 2018 06:51:32 Teodor Kuduschiev replied:
Hello Henry,
What exactly do you mean by: "After i've changed the connection string to mysql"? How did you change it? What was it set to before?

Reply to this topic