Hey Cindy,

Usually you can get a better idea of the real problem by looking in the
hostname.err (where hostname is the hostname of your machine) file in
whatever directory you are storing your logs in.  Is there any info in
that file that you can post?

You can check to make sure another mysql.sock doesn't exist in /tmp
already ( Maybe one got created by the mysql_att user, and the mysql
user can't overwrite it. ).  That or you may want to shut down the
server, clear out any mysql.sock files in /tmp and restart the mysql
server.

--
sh


On Mon, 2002-04-29 at 11:28, Cindy wrote:
> 
> Cindy writes:
>  >
>  >OK, it seems like every time I install mysql, I run smack dab into
>  >some type of access problem -- if it isn't a password hangup, it's a
>  >mysql.sock problem or (at the moment) a refusal to allow me to create
>  >databases.  I've puzzled through most of it for now, but this one
>  >has me stumped.
> 
> A bit of an update.  I've come around full circle, so I'm ready
> to scream.
> 
> I finally noticed that the usernames didn't match -- the safe_mysqld
> script assumes username mysql, but I use mysql_att, etc for different
> machines.  So.  I fixed that, and reran safe_mysqld.  Now I get
> can't find host.frm.  Aha, I say.  I know what that is.  So I run
> the scripts/mysql_install_db.  That runs.  OK, cool, now I set the
> root password.
> 
> [11:23am] root@attalus> ./bin/mysqladmin -u root -p password '***'
> Enter password: ***
> ./bin/mysqladmin: connect to server at 'localhost' failed
> error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)'
> Check that mysqld is running and that the socket: '/tmp/mysql.sock' exists!
> 
> AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA.
> 
> OK, so the sticky bit is set on the /tmp dir, so I'm guessing this is
> still a matter of an access problem.  But I thought the script
> took care of that.
> 
> Getting dizzy from these circles,
> --Cindy
> 
> ---------------------------------------------------------------------
> Before posting, please check:
>    http://www.mysql.com/manual.php   (the manual)
>    http://lists.mysql.com/           (the list archive)
> 
> To request this thread, e-mail <[EMAIL PROTECTED]>
> To unsubscribe, e-mail <[EMAIL PROTECTED]>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
> 



---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to