[RISOLTO] PDOException : could not find driver | MySQL?

Installazione, configurazione e uso di Ubuntu come server: web, ftp, mail, news, proxy, dns e altro.
Avatar utente
Antony_Ub
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 359
Iscrizione: domenica 19 maggio 2013, 18:53

[RISOLTO] PDOException : could not find driver | MySQL?

Messaggio da Antony_Ub »

Ciao a tutti ragazzi, oggi ho disinstallato MySQL e reinstallato una versione più recente del server db. Quando sono andato a caricare uno script php dal browser, ho scoperto che PHP non riesce a stabilire la connessione col server e l'eccezzione restituisce il seguente messaggio attraverso il metodo ->getMessage() :

Codice: Seleziona tutto

could not find driver
È dovuto al fatto che ho reinstallato MySQL? Cosa fare?

Grazie a tutti!
Ultima modifica di Antony_Ub il lunedì 9 settembre 2013, 15:00, modificato 1 volta in totale.
There are 10 kinds of people in the world. Those that understand binary, and those that don't.
Avatar utente
Antony_Ub
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 359
Iscrizione: domenica 19 maggio 2013, 18:53

Re: PDOException : could not find driver | MySQL?

Messaggio da Antony_Ub »

Forse è da spostare nella sezione Programmazione? Dato che riguarda anche il PHP.
There are 10 kinds of people in the world. Those that understand binary, and those that don't.
Avatar utente
Antony_Ub
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 359
Iscrizione: domenica 19 maggio 2013, 18:53

Re: PDOException : could not find driver | MySQL?

Messaggio da Antony_Ub »

Risolto ricompilando php.
There are 10 kinds of people in the world. Those that understand binary, and those that don't.
Scrivi risposta

Ritorna a “Ubuntu su server”

Chi c’è in linea

Visualizzano questa sezione: 0 utenti iscritti e 1 ospite