Sinisa Milivojevic To: [EMAIL PROTECTED] <sinisa@mysql cc: [EMAIL PROTECTED] .com> Subject: Re: I *think* that I've just found the most misleading item in MySQLGUI.. 19.12.01 17:02 Please respond to sinisa
[EMAIL PROTECTED] writes: >> Hi folks, >> >> I know I had got that working months ago, but now I had to set up another >> PC for a customer - this time it was a Linux machine. >> This cost me 2 (TWO) days to find out what was the error of MySQLGUI Error >> Number One... >> >Hi! >Our README is quite clear on this issue : -:- >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, But WHY, simply do tell me *why*! *Why* doesn't it know that? I didn't modify anything spectacular nor did I insert some non-standard cruft... I put the path of /var/lib/mysql/mysql.sock in /etc/my.cnf, that should be already enough, isn't it?! Well, I could reprogram mysqlgui myself to *actually use* the value specified in my.cnf, and I assure you: lots of mailing lists will be devoid of these problems from now on. Sorry, but I don't know why do things so complicated (such as having to type them in manually) when they can easily be read out from a configuration file like my.cnf. Tell me a *plausible* reason why and I shut up. ;-) >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. Yes, but like I said: this (Win32) is misleading and could be understood as "This field is for Win32 users only and doesn't have to be regarded on Unix-like OSes." OK, I admit I might be nitpicking here now ... but that's exactly what kept me puzzled! And this is avoidable, I think. >If you have problems locating your socket file on Unix, you can use find >utility, like this: No I haven't. I use locate. ;-) But regarding this, could you please answer my question whether you don't simply let it read from /etc/my.cnf (*IN CASE IT'S THERE*) but leave it to the user to type that in AGAIN? That's redundant, in my point of view. And redundant things confuse both newbies and people like me who were forced to browse the net for similar problems months before and have forgotten it now meanwhile. Greetings Andreas --------------------------------------------------------------------- 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