Hi !

Bob wrote:
> mysql.sock doesn't exist on the hard drive.
> 
> [[...]]
> 
> kenny# ./mysqladmin create databasename
> /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!
> 
> kenny# find / -name mysql.sock &
> 
> kenny#
> [1]    Done                          find / -name mysql.sock
> kenny#
> 
> Nothing, zip, nada, the file doesn't exist on the hard drive.
> 
> How do I create it?

The server creates it, when starting.

1) The message said "Check that mysqld is running and ..."
   I don't see a "ps" command showing this.

2) If you search in the file system, make sure you are not blocked by
   permissions. On Linux, I would use "sudo find ..."


HTH,
Jörg

-- 
Joerg Bruehe,  MySQL Build Team,
               [EMAIL PROTECTED]
Sun Microsystems GmbH,   Sonnenallee 1,   D-85551 Kirchheim-Heimstetten
Geschaeftsfuehrer: Thomas Schroeder, Wolfgang Engels, Dr. Roland Boemer
Vorsitzender des Aufsichtsrates: Martin Haering     Muenchen: HRB161028


--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to