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

Thomas Belknap dragonfly at dragonflyeye.net
Fri Dec 4 14:29:16 UTC 2009


Is the question whether or not it's OK for WP to die, or weather some
notification aught to be sent when it does?

On Fri, Dec 4, 2009 at 9:23 AM, Otto <otto at ottodestruct.com> wrote:

> Correct me if I'm wrong, but I thought WordPress' support for other
> DB's was basically limited to replacing the wpdb class entirely. To
> support another DB, you'd basically make your own db.php file in the
> wp-content directory, then the wp-db.php never gets loaded.
>
> So if that is the case, this mysql_connect function would never get called.
>
> -Otto
>
>
>
> On Thu, Dec 3, 2009 at 7:44 PM, 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
> >
> _______________________________________________
> 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