Leopard MySQL help


hi folks,

after upgrading mac osx 10.5 (leopard) discovered no longer connect mysql. searched web fix , found few different posts offering solutions. no doubt due own lack of knowledge terminal on other 'black arts' encouraged delve along way, every post followed failed solve problem.
i'm sure it's messed behind scenes i've dipped kinds of things trying fix mysql. result when try connect through cocoa mysql tool of choice on osx10.4 following message:
"unable connect host localhost.
be sure address correct , have necessary privileges.
mysql said: can't connect local mysql server through socket '/private/tmp/mysql.sock' (2)"

i tried mamp seemed connect through phpmyadmin on first try following message:
" #2002 - server not responding (or local mysql server's socket not correctly configured) "

i hate ask have tried on past month (over , on again) , seem have run out of options. has time me find solution?

cheers


dave

davecheet wrote:

> hi folks,
>
> after upgrading mac osx 10.5 (leopard) discovered no longer
> connect mysql. searched web fix , found few
> different posts offering solutions. no doubt due own lack of knowledge
> terminal on other 'black arts' encouraged delve along
> way, every post followed failed solve problem.
> i'm sure it's messed behind scenes i've dipped
> kinds of things trying fix mysql. result when try connect
> through cocoa mysql tool of choice on osx10.4 following
> message:
> "unable connect host localhost.
> sure address correct , have necessary privileges.
> mysql said: can't connect local mysql server through socket
> '/private/tmp/mysql.sock' (2)"
>
> tried mamp seemed connect through phpmyadmin on first try
> following message:
> " #2002 - server not responding (or local mysql server's socket
> not correctly configured) "
>
> hate ask have tried on past month (over ,
> on again) , seem have run out of options. has time
> me find solution?
>


"mysql.sock" may missing or in wrong directory:
http://forum.mamboserver.com/showthread.php?t=70766

or per dave powers:
try in terminal:

ln -s /var/run/mysqld/mysqld.sock /tmp/mysql.sock

mick



More discussions in Develop server-side applications in Dreamweaver


adobe

Comments

Popular posts from this blog

VIDIOC_S_FMT error 16, Device or resource busy - Raspberry Pi Forums

using a laptop skeleton to build a pi laptop - Raspberry Pi Forums

Forum for Joomla? - Joomla! Forum - community, help and support