[wp-hackers] WorPress dies silently without MySQL PHP extention
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:
> 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
More information about the wp-hackers