mmmm.. weird...

i suppose a ps axu in the VS returns the processes for mysql...

if it does...

what are the permissions for /var/lib/mysql ? (needs to be at leas 711
drwx--x--x )

did you try logged in the VS (in the shell):

mysql -h localhost -u root -p
(and then enter passwd)

and if that fails

mysql -h localhost -u root
(there is no passwd here)

Cheers!
Marcos

On Tue, 29 May 2001, Zen Woo wrote:

> I am running the admin scripts from within a VS.
> 
> BTW, when using phpMyAdmin, it connects to VS IP address because it does not
> seem to be able to connect to localhost eventhough an entry exist in
> /etc/hosts. The WebAdmin scripts connect to the VS IP too, but I am not too
> sure about mod_auth_mysql? When I remove the Auth_MySQL and Auth_MYSQL lines
> from httpd.conf, it goes into the Administration Area with no problems
> (except of course there are no servers since no user has been logged in).
> 
> Thanks,
> 
> Zen
> 
> ----- Original Message -----
> From: "Marcos Rubinstein ALPA WWW" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, May 29, 2001 2:38 AM
> Subject: Re: No servers associated with account
> 
> 
> On Mon, 28 May 2001, Zen Woo wrote:
> 
> > Yes, it is. I can connect to the MySQL server from phpMyAdmin.
> >
> > A mysql.sock file exist in /var/lib/mysql but Apache can't seem to connect
> > to it.
> >
> 
> if you can connect to MySql from phpMyAdmin... then Apache is connecting
> to MySql...
> 
> when you use phpMyAdmin, MySql is normally called to localhost... perhaps
> in the case were you have problems you're callyng Mysql to
> your.virtual.domain ?....
> 
> be sure you have set the root and other user's password in mysql for both
> localhost and your.virtual.domain (you can check to be sure which virtual
> domain is MySql using looking in /var/lib/mysql... for the name of the
> .pid file).
> 
> (I had a hell of a time until I noticed that I did not have root passwd
> in mysql for the virtual.domain :(
> 
> and... if you ever get front page working in a virtual... let me
> know!!!! (question.... FP98 used to have a "stand alone" mode... ie, did
> not need apache or other httpd... does anybody knows if the latest front
> page has something like that?... I would rather have frontpage by itself
> in a virtual!)
> 
> Cheers!
> 
> Marcos
> 
> 
> > Zen
> >
> > ----- Original Message -----
> > From: "Gary Reid (cars-sold)" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Monday, May 28, 2001 9:59 PM
> > Subject: Re: No servers associated with account
> >
> >
> > is mysql running?
> >
> > Gary
> > >
> > > Connection refused: MySQL auth: Can't connect to local MySQL server
> > through
> > > socket /var/lib/mysql/mysql.sock (in /home/web/log/error_log)
> >
> >
> >
> >
> 
> 
> 

Reply via email to