Re: Moto drops Mysql connection

Jack <[email protected]> 25 Feb 2003 21:51:52 -0700
Newsgroups gmane.comp.lang.moto.user
Message-ID <[email protected]>
Okay, sorry for the late response.

I used the debs right out of dselect.  Remember that i use the unstable
sources (which really means nearly the latest versions)

Other than that I'm running moto fine. I mean after reading the docs on
the site for the necessary apache includes files and mysql-client-dev,
etc. it went great.

I'm really rather excited about this language because of the potential
it holds for people like me who like the ease of a write it and run it
language (php, perl) but also like well-typed languages and the speed of
a compiled language.  heh, moto has it all, eh?

Thanks,

Jack

On Tue, 2003-02-25 at 15:55, Cory Wright wrote:
> 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/