Socket not found
I just loaded and built three different versions of mysql and all three versions have given me the same results. When trying to change the password to root, this is what I get: ./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! Help please. Peter
Re:Socket not found
Hey Peter, 2 options; Check the socket key-value in the my.cnf file under the client section. Explicitly tell mysqladmin what one to use with the relevant cmd line option. See the documentation for syntax. Hth Andrew On 9 Oct 2011 09:21, Peter Schrock peter.schr...@gmail.com wrote: I just loaded and built three different versions of mysql and all three versions have given me the same results. When trying to change the password to root, this is what I get: ./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! Help please. Peter
Re: Socket not found
Hi, I had the same problem recently restart the server so it can create your socket again and it should be all right. Best regards, Javad From: Andrew Moore eroomy...@gmail.com To: Peter Schrock peter.schr...@gmail.com Cc: mysql@lists.mysql.com Sent: Sunday, October 9, 2011 10:51 AM Subject: Re:Socket not found Hey Peter, 2 options; Check the socket key-value in the my.cnf file under the client section. Explicitly tell mysqladmin what one to use with the relevant cmd line option. See the documentation for syntax. Hth Andrew On 9 Oct 2011 09:21, Peter Schrock peter.schr...@gmail.com wrote: I just loaded and built three different versions of mysql and all three versions have given me the same results. When trying to change the password to root, this is what I get: ./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! Help please. Peter
Re: Socket not found
Am 09.10.2011 11:00, schrieb javad bakhshi: Hi, I had the same problem recently restart the server so it can create your socket again and it should be all right /tmp/ is a really bad location because tmpwatch is killing old files there and a mysqld usually runs for weeks - no idea why this is the upstream default and why mysqld does not recognize this and restore the file fedora is using /var/lib/mysql/mysql.sock as configure-option and all applications like php, dbmail... are also compiled fpr this location signature.asc Description: OpenPGP digital signature
Is downloads.mysql.com download?
Hi, I'm not able to connect to downloads.mysql.com. Is it down? -- Regards, Peng -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/mysql?unsub=arch...@jab.org
Re: Is downloads.mysql.com download?
Am 09.10.2011 17:33, schrieb Peng Yu: Hi, I'm not able to connect to downloads.mysql.com. Is it down? what stupid question? if you have internet access, can open other websites and write mails and you fail only to connect to one server it should be clear that this server is down - what else? signature.asc Description: OpenPGP digital signature
Re: Is downloads.mysql.com download?
For an appropriate response, try: www.msyql.com/downloads/ Peter On Oct 9, 2011, at 8:33 AM, Peng Yu pengyu...@gmail.com wrote: Hi, I'm not able to connect to downloads.mysql.com. Is it down? -- Regards, Peng -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/mysql?unsub=peter.schr...@gmail.com -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/mysql?unsub=arch...@jab.org
Re: Is downloads.mysql.com download?
Hi Carlos, I want to download the pdf documents as shown on http://dev.mysql.com/doc/. But I don't see these pdf documents on http://dev.mysql.com/downloads/. In case you know where to download the pdf documents, would you please let me know? I'm not sure who are in charge of these two URLs. I guess either links on http://dev.mysql.com/doc/ should be fixed or downloads.mysql.com should be fixed. On Sun, Oct 9, 2011 at 10:47 AM, Carlos Proal carlos.pr...@gmail.com wrote: Downloads are available in http://dev.mysql.com/downloads Carlos On Sun, Oct 9, 2011 at 10:33 AM, Peng Yu pengyu...@gmail.com wrote: Hi, I'm not able to connect to downloads.mysql.com. Is it down? -- Regards, Peng -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/mysql?unsub=carlos.pr...@gmail.com -- Regards, Peng -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/mysql?unsub=arch...@jab.org
Re: Is downloads.mysql.com download?
2011/10/9 Reindl Harald h.rei...@thelounge.net Am 09.10.2011 17:33, schrieb Peng Yu: Hi, I'm not able to connect to downloads.mysql.com. Is it down? what stupid question? if you have internet access, can open other websites and write mails and you fail only to connect to one server it should be clear that this server is down - what else? 1. server does not exist (iamsorude.mysql.com) 2. dns problem 3. routing problem from a specific location 4. intermittent website problem but most of all , as you have already been told, reply only if you have something useful to say and in a non rude way. just ignore all of us stupid that ask stupid questions, do you think you an make it? Thanks Claudio -- Claudio
Why the same command have different results when it is in a bash script and when it is not?
Hi, It is seems strange to me why the same command mysql -hlocalhost -uxxx when it is run from the command line, it will show an error. When it is run in a bash script, it runs fine. I guess this might be described somewhere, but I'm yet to find the answer. Does anybody know why this happens and how to make the command line version working? ~$ mysql -hlocalhost -uxxx ERROR 1045 (28000): Access denied for user 'xxx'@'localhost' (using password: YES) ~$ cat `which mysqllocalhostxxx.sh ` #!/usr/bin/env bash mysql -hlocalhost -uxxx ~$ mysqllocalhostxxx.sh Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 101 Server version: 5.5.9 Source distribution Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql -- Regards, Peng -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/mysql?unsub=arch...@jab.org