-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 29/04/2012 05:50, j...@ayendesigns.com wrote:
> Getting warmer :) I installed apache2, mysql5, mysql5-server, php5 and > phpmyadmin. Apache is pointing to the correct place for apachectl after > I added the path to .profile. > > The trouble I'm having now is mysql. I'm getting: > > ERROR 2002 (HY000): Can't connect to local MySQL server through socket > '/opt/local/var/run/mysql5/mysqld.sock First of all, have you checked that mysql-server is actually running? 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. Cheers, Phil... - -- 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/ iQEcBAEBAgAGBQJPnPp0AAoJEKpMeDHWT5ADhAMH/3LimzJtKhayUzRUPFDgwc10 +7I9t/X7tvop0AtxwTUsnOxBMiFuyXr1XTR54XkPY4ZV4Wc4DYqr8teUWZKXXWX4 J6876wRHf/N5gM2Quf5W2w/bDA6UV9Is2uMyRr8mHNKfV8dJBoyFi8MzNJ/+844B 5bpw8QnDn/gYNjYYf40AMSpyyl91BhAviVMExVAvleyhYiA0EesWCrrcL4YP2AWZ q8NoRRqPcssEwYGRxqVFVqPh7h0VAaK42wVQJPxyY0Krd+XawpzNSdwLdU6QWN72 W3ssoD0DdwcrKeyDxehpe1+ppoAWr6P4MDS4iPcpNQZFiylimx0NGv7zobrRzuk= =Hgyy -----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