Re: Moto drops Mysql connection

Cory Wright <cwright-dated-1046645730.c94500-fBYJ9vZApKkqcZcGjlUOXw@public.gmane.org> Tue, 25 Feb 2003 17:55:30 -0500
Newsgroups gmane.comp.lang.moto.user
Organization Stand Blue Technology
Message-ID <[email protected]>
On Tue, Feb 25, 2003 at 01:31:07PM -0700, Shay Harding wrote:
> > Jack:
> > In any case this works about 50% of the time, and fails the 
> > other half with this error: Moto Error
> > 
> > /var/www/query.moto:15: Uncaught SQLException
> >     message: Can't connect to MySQL server on 'localhost' (111)
> > 
> > SQLException thrown in 
> > MySQLConnection::MySQLConnection(4)(myconn.c:50)
> >    called from function <main>(/var/www/query.moto:15)

[...]

> > The system I am running:
> > Linux home 2.4.20-xfs #1 Tue Feb 18 19:00:05 MST 2003 i686 
> > unknown unknown GNU/Linux mysql-server 3.23.55
> > apache       1.3.27
> > debian testing/unstable 3.0

> Well, I can say for sure that the above works 100% of the time on my
> Mandrake 9.0 Linux box running MySQL 3.23.54. The error received is coming
> right from the MySQL API: "Can't connect to MySQL server on 'localhost'
> (111)".

There have been problems with Moto on Debian in the past.  My laptop runs
Debian so I will try out your code tonight and see if I get the same results.

Were your Apache and MySQL compiled locally or were they installed via the 
debs?

Cory

--
Cory Wright
Stand Blue Technology
http://www.standblue.net/