[drupal-support] strange error and menu question

Gerhard Killesreiter killesreiter at physik.uni-freiburg.de
Tue May 31 16:25:36 UTC 2005



On Tue, 31 May 2005, Christopher Taylor wrote:

> Hope everybody is doing well.
> I am racing to get our website up and running.
>
> 1. We had the taxonomy menu module installed and now I don't see how to
> create a link to an outside website from the menu system.
> How does this work?

The taxonomy_menu module only creates menus from predefined
vocabularies. By this property, all the links are internal.

> 2. I am getting this message every other click or so.
> It works once or twice, then it gives this error.
> If I try to refresh several times, it usually does the next request.
> Anybody have any ideas?
>
> Warning: mysql_connect(): Unknown MySQL Server Host 'supremeserver22.com'
> (2) in /home/www/bnmcnews.com/newdrupal/includes/database.mysql.inc on line
> 31
> Unknown MySQL Server Host 'supremeserver22.com' (2)

Well, apparently the server is less than supreme. ;-)

If your database is hosted on another server than your webserver and the
connection is a bit flaky (as the above message seems to suggest) then
it might be worthwhile to change mysql_connect to mysql_pconnect in the
function db_connect in the file database.mysql.inc.

Cheers,
	Gerhard




More information about the drupal-support mailing list