[wp-hackers] WorPress dies silently without MySQL PHP extention

scribu scribu at gmail.com
Fri Dec 4 11:25:51 UTC 2009

No, it's not ok. Should probably remove the @ before the function.

I thought you got a "Can't connect to the database" warning page when that

Btw, WordPress doesn't guarantee compatibility with any DB other than MySQL.

On Fri, Dec 4, 2009 at 3:44 AM, Vlad GURDIGA <gurdiga at gmail.com> wrote:

> Hello!
> When there is no MySQL PHP extension installed, for example when you
> have WordPress working on an SQLite DB instead of MySQL, wpdb
> constructor dies silently trying to
> $this->dbh = @mysql_connect($dbhost, $dbuser, $dbpassword, true);
> Is that OK?
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers


More information about the wp-hackers mailing list