Page 1 sur 1

php

Posté : 16 juil. 2012, 15:52
par Baye pathe
que veut dire cette erreur en PHP? SVP répondez moi car je suis coincé.


Fatal error: Uncaught exception 'PDOException' with message 'could not find driver' in C:\wamp\www\base\table.php:2 Stack trace: #0 C:\wamp\www\base\table.php(2): PDO->__construct('mysql:host=loca...', 'root', '') #1 {main} thrown in C:\wamp\www\base\table.php on line 2

Re: php

Posté : 16 juil. 2012, 16:03
par Mazarini
Que tu n'as pas le driver pour accéder à Mysql avec PDO.
Accessoirement que tu ne gères pas les exceptions lors de la connexion.

Re: php

Posté : 16 juil. 2012, 16:10
par Baye pathe
alors vomment faire pou driver?

Re: php

Posté : 16 juil. 2012, 16:11
par Baye pathe
alors vomment faire pou driver?

Re: php

Posté : 16 juil. 2012, 16:20
par Baye pathe
alors Mr Mazarini dite moi comment faire pour driver SVP!