-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 29/04/2012 13:24, j...@ayendesigns.com wrote:
> It is running. Activity monitor shows mysqld running under user > _mysql.First of all, have you checked that mysql-server is actually > running? I had found a million hits :) I spent quite a bit of time > reading them, trying what seemed logical, modifying what I did to > account for the age of some (many refer to user mysql and now it's > _mysql), etc., to no avail. > > I stopped mysql, at which point the process disappears from Activity > Monitor as it should. Restart it, and the process reappears, but so does > the mysock error :( Does `/private/tmp/mysql.sock` exist (there's also a symlink at `/var/mysql/mysql.sock`)? Your best bet is to read the official MySQL reference docs at: <http://dev.mysql.com/doc/refman/5.5/en/connecting-disconnecting.html> Cheers, Phil... > > Quickest way other than the cli is open Activity Monitor & select `All > processes` & enter `mysqld` in the search box. > > Or from the cli 'ps -ef | grep mysql' > > If it isn't running, start the server. If it is running, it's because > mysqld can't find the required `mysqld.sock`. In which case re-starting > the server should automatically generate the mysqld.sock file. > > Also if you enter `ERROR 2002 (HY000): Can't connect to local MySQL > server through socket` in Google, you'll get about a million hits. It's > a very common problem when first installing/upgrading MySQL. - -- But masters, remember that I am an ass. Though it be not written down, yet forget not that I am an ass. Wm. Shakespeare - Much Ado About Nothing -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: §auto-key-locate cert pka ldap hkp://keys.gnupg.net Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJPnUDZAAoJEKpMeDHWT5ADc94IAKDNbu2g6SyluCRp5fnKAkFB ICJeeD/WsrzCoGR/0Ouifdwj+g08tSh67ugjFwULeEnueaf4bCJjdMJtrT1gis+3 e0sKskxEr0d1HQAGUY9odSbjoyYtX0rjJhd9f0T1zUvIixiRt/v2ziysSNbRHAJq uAHt8XWB5tNUMpR4y7SPvkVPgRvNhYx3zFTxMuD54zq23oUultAqLmVzyCBGpwWZ O6tkSf129XSs6vE+tKWoGKqf7bls3WwiF2o5z5mw1LXrQGTrK5CmfrjfcFj1fvEg hHTpjVbi9bs0SplOFPc8wNreslNNU37M1hGFWqTJPPRBCQxHu0A6BpvdD3AstlI= =XHLh -----END PGP SIGNATURE-----
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users