Skip navigation links

MySQL Forums :: PHP :: Occasional SQL Errors (Unable to connect or Unknown Host)


Advanced Search

Occasional SQL Errors (Unable to connect or Unknown Host)
Posted by: Hovig Baghoyan ()
Date: November 05, 2009 11:42PM

Hi I have been racking my brain trying to figure this out but at my noob level its over my capacity. I have a joomla website and phpbb3 forum both bridged together. Here is the 411 for my setup:

PHP Version: 5.2.6
MySQL Version: 5.0.22
Server OS: Windows Server (2003 I think)
Webserver: IIS

I get the errors on occasion and when I do after I refresh my page it works again. I also noticed that whatever statement I have sent is processed even though I got the error.

Thanks in advance,
Hovig B.

Here are the errors Im receiving:

Error 1
--------
General Error
SQL ERROR [ mysql4 ]

Unknown MySQL server host 'mysql1.myurl.com' (11004) [2005]

SQL

SELECT phpbb_id FROM joomphpbb_bridge WHERE joom_id=62

BACKTRACE

FILE: includes/db/mysql.php
LINE: 174
CALL: dbal->sql_error()

FILE: joomphpbb_engine2.php
LINE: 708
CALL: dbal_mysql->sql_query()

FILE: adm/index.php
LINE: 5
CALL: require('joomphpbb_engine2.php')
-----------------------------------------------------




Error 2:
---------
SQL ERROR [ mysql4 ]

[0]

An sql error occurred while fetching this page. Please contact an administrator if this problem persists.
----------------------------------------------------------



Error 3:
--------
Database Error: Unable to connect to the database:Could not connect to MySQL

Options: ReplyQuote


Subject Written By Posted
Occasional SQL Errors (Unable to connect or Unknown Host) Hovig Baghoyan 11/05/2009 11:42PM
Re: Occasional SQL Errors (Unable to connect or Unknown Host) Hovig Baghoyan 11/09/2009 04:08AM
Re: Occasional SQL Errors (Unable to connect or Unknown Host) Rick James 11/10/2009 09:32AM
Re: Occasional SQL Errors (Unable to connect or Unknown Host) Hovig Baghoyan 11/10/2009 01:09PM
Re: Occasional SQL Errors (Unable to connect or Unknown Host) Hovig Baghoyan 11/10/2009 01:28PM
Re: Occasional SQL Errors (Unable to connect or Unknown Host) jarrod christman 11/10/2009 01:50PM


Sorry, only registered users may post in this forum.