Tuesday, October 10, 2006

Yum? Someone just ate the database

I'm always amused when I connect to a website of an established company or other organization and instead of seeing a well designed, intuitive, nicely rendered HTML page, I am looking at an error message of some software that apparently has failed. From my memory, the leader in this space (granted, nothing to be proud of) is probably MySQL. I have seen countless websites blow up with nothing much than a MySQL error. Not good, particularly since those guys claim to be enterprise-ready and suitable for mission-critical applications.

Now, you could argue that the website of my football team shouldn't be considered mission-critical, but it's embarassing nevertheless. So, instead of knowing scores of the teams, I'm looking at garbled techno-babble.
Warning:
mysql_connect(): Too many connections
in /www/www.eintracht.de/documents/yum/_php/database.php on line 401

399 function connect() {
400 $this->deconstruct_location();
401 $this->db = mysql_connect($this->host, $this->user, $this->password)
402 or die("Verbindungsaufbau zum SQL-Server ist fehlgeschlagen.");

@ >/yum/_php/database.php:401 -- mysql_connect(...)
@ >/yum/_php/database.php:385 -- database->connect()
@ >/yum/_php/database.php:321 -- database->select_db()
@ >/yum/_php/onlineusers.php:110 -- database->query(...)
@ >/yum/_php/onlineusers.php:47 -- communityonlineusers->refresh()
@ >/yum/_modules/community/onlineusers.php:62 -- onlineusers::onlineusers(...)
@ >/yum/_modules/community/handler.php:103 -- communityonlineusers->communityonlineusers(...)
@ >/yum/_php/module.php:44 -- communityhandler->communityhandler(...)
What's with the yummies? Someone nibbling at the SQL statements? Ugh.

0 Comments:

Post a Comment

Links to this post:

Create a Link

<< Home