andrew67
asked on
mysql setup on suse
Hi i have installed suse10 on a box and installed apache php and mysql i have then installed mysql administrator and can access the mysql db fine. however i have just wrote a php script to access the db using the same connection string and i get the error
cant connect to local mysql server through socket '/tmp/mysql.sock' (2)
has any one any idea what this mean or how i can correct it
thanks in advance
cant connect to local mysql server through socket '/tmp/mysql.sock' (2)
has any one any idea what this mean or how i can correct it
thanks in advance
ASKER
its ok i have sorted it myself i have put the ip address of the machine in the connection string instead of the 'localhost'
ASKER
can any one tell me how to close this question
thanks
thanks
post to comminuty support with a link to the question you want closed and they will sort it for you.
or assign the points :-)
J
or assign the points :-)
J
ASKER
i know this might sound silly but how do i post it to the community support
thanks
thanks
Go here;
https://www.experts-exchange.com/Community_Support/
And post a question to the group just as you did for this and include a link to this question.
https://www.experts-exchange.com/Community_Support/
And post a question to the group just as you did for this and include a link to this question.
ASKER
thanks
Don't bother waiting 4 days, if Andrew67 want's the points back because he fixed it himself then you may as well close now.
I have no objections...
J
I have no objections...
J
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Posting the bit from your script may help.
Do you have the php/apache package loaded?
J