Charles Mégnin writes:
> I am getting an error message
> 
> Can't connect to local MySQL server through socket '' (111)
> 
> trying to connect via mySQLgui on my Linux box running RH6.2
> I do have a
> /tmp/mysql.sock
> with proper authorizations
> and have no problem connecting to the serverwithout the client.
> Thanks for your clues
> Charles


All you have to do is follow instructions from README that came with
mysqlgui. 

This is a relevant excerpt:

When you start mysqlgui for the first time, you'll need to tell it how to
connect to the MySQL server.  To do this, click on the ``Options'' button.
Select the ``Server'' tab and fill in the fields that indicate where to
find the server.  On Unix, if you have problems with mysqlgui not knowing
the location of the socket file for connections to localhost, enter the
full pathname of the socket file in the ``SQL command on the start-up''
field.  On Windows, this field is used if you wish to specify the named pipe
option.  Then select the ``Client'' tab and fill in your MySQL user name.
Take care to select the right value for the ``Ask for password'' button,
depending on whether or not you want mysqlgui to prompt you for your
MySQL password.  After you have filled in the server and client values,
click on the ``Save'' button.  From then on, each time mysqlgui starts up,
it will connect to the MySQL server automatically.


-- 
Regards,
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Mr. Sinisa Milivojevic <[EMAIL PROTECTED]>
 / /|_/ / // /\ \/ /_/ / /__   MySQL AB, FullTime Developer
/_/  /_/\_, /___/\___\_\___/   Larnaca, Cyprus
       <___/   www.mysql.com

---------------------------------------------------------------------
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