• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 183
  • Last Modified:

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
0
andrew67
Asked:
andrew67
  • 4
  • 4
1 Solution
 
joolsCommented:
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
0
 
andrew67Author Commented:
its ok i have sorted it myself i have put the ip address of the machine in the connection string instead of the 'localhost'

0
 
andrew67Author Commented:
can any one tell me how to close this question

thanks
0
The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

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

thanks
0
 
joolsCommented:
Go here;

http://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.
0
 
andrew67Author Commented:
thanks
0
 
joolsCommented:
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
0
 
GranModCommented:
PAQ-ing the question and refunding 50 points

Thanks jools.

GranMod
The Experts Exchange
Community Support Moderator of all Ages
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Office 2010

This course will introduce you to the interfaces and features of Microsoft Office 2010 Word, Excel, PowerPoint, Outlook, and Access. You will learn about the features that are shared between all products in the Office suite, as well as the new features that are product specific.

  • 4
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now