Welcome to Geeklog Sunday, May 19 2013 @ 02:58 AM EDT
|
||||||||
![]() |
Forum Index > Support > Installation Support |
New Topic
|
Post Reply
|
Updated php and mysql on server... trying to install and get error . |
|||
| Anonymous: berto |
|
||||||
|
|
Hi All!
I have been installing geeklog on a couple of Mac OS X 10.4 servers.. on one server when I try to install I get the following issue Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /Library/WebServer/geeklog/system/databases/mysql.class.php on line 120 Cannot connect to DB server I just updated the php from the standard install to 5.20 . I also upgraded the mysql to the current 5.0.27. I can use terminal and get into mysql.. I also use Navicat and have no problem... the php.info pulls up and displays all the updates.. I know that part is working fine.. so I don't understand ... can anyone help me with what I might try to resolve this ? Thanks for your help in advance ! berto |
||||||
|
|||||||
| Dirk |
|
||||||
![]() ![]() ![]() ![]() ![]() Admin ![]() Status: offline ![]() Registered: 01/12/02 Posts: 13027 |
Did you (re)compile PHP after you installed MySQL? Apple's PHP expects the sockets in a different place than where the MySQL binaries from mysql.com put them.
bye, Dirk |
||||||
|
|||||||
| berto |
|
||||||
![]() ![]() ![]() ![]() ![]() Junior ![]() Status: offline ![]() Registered: 01/25/07 Posts: 16 |
Hi Dirk!
The problem actually ended up being a problem with my mysql .....Thanks for all your great help and fast responses to this board ! berto |
||||||
|
|||||||
| berto |
|
||||||
![]() ![]() ![]() ![]() ![]() Junior ![]() Status: offline ![]() Registered: 01/25/07 Posts: 16 |
I have had one person email me on having this same issue when trying to install geeklog . for me I followed http://www.macosxhints.com/article.php?story=20060111113313511 and it resolved my issues.. I thought I would post this just in case someone else may need it..
|
||||||
|
|||||||
| Content generated in: 0.69 seconds |
|
|
|