Using PHP installed on Windows Server 2008 I attempt to connect to an external MySQL DB, but get the following error: On lines 172-181 in class_DbConnect.php I have the following code: function connect() { self::$instance = new mysqli($this->DB_HOST, $this->DB_USERNAME, $this->DB_PASSWORD, $this->DB_DATABASE); if (mysqli_connect_errno()) { $this->raise_error(printf("Connect failed: %s\n", mysqli_connect_error())); } return self::$instance; } PHP: Any ideas on what is going on? In my php.ini I have enabled the php_mysqli.dll extension. Please let me know if any more information is needed, and thanks in advance for any help.