Link to home
Start Free TrialLog in
Avatar of andrew67
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
Avatar of Julian Parker
Julian Parker
Flag of United Kingdom of Great Britain and Northern Ireland image

take a look at the http error_log file, it may give a little more information.

Posting the bit from your script may help.

Do you have the php/apache package loaded?

J
Avatar of andrew67
andrew67

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'

can any one tell me how to close this question

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
i know this might sound silly but how do i post it to the community support

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.
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
ASKER CERTIFIED SOLUTION
Avatar of GranMod
GranMod

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial