You are not logged in.

#1 2006-02-02 00:11:52

iCool
Member
Registered: 2006-02-01
Posts: 1

myadminphp error on Mac os X

I have had myadminphp working up till recently. However now I'm encountered with the following, after a successful login in Safari:

Error

MySQL said:

Can't connect to local MySQL server through socket '/var/mysql/mysql.sock' (2)

Could do with some help troubleshooting as I think that this is the crux of my problems, I can't do  anything with OS commerce until this is sorted. I have installed and unistalled php 4.4.2 recently, yet Apache and MySQL have been restarted. Oh and the php test page with all info is still working. So far I have established that Apache and php are working fine, just unsure about MySQL (however I know the server status in system preferences shows it to be running fine / as active). All assistance received will be greeatful for. Thanks

Offline

 

#2 2006-02-04 12:22:49

Justin
Site Admin
Registered: 2003-06-01
Posts: 33
Website

Re: myadminphp error on Mac os X

Check the phpMyAdmin settings in config.inc.php, particularly the following line:

Code:

$cfg['Servers'][$i]['connect_type']  = 'tcp';       // How to connect to MySQL server ('tcp' or 'socket')

Sounds like you have it set to socket, which is a setting I've never used.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson