[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

mysql setup on suse

Posted on 2006-05-09
10
Medium Priority
?
181 Views
Last Modified: 2013-12-16
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
Comment
Question by:andrew67
  • 4
  • 4
9 Comments
 
LVL 19

Expert Comment

by:jools
ID: 16640260
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
 
LVL 3

Author Comment

by:andrew67
ID: 16646590
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
 
LVL 3

Author Comment

by:andrew67
ID: 16646591
can any one tell me how to close this question

thanks
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 19

Expert Comment

by:jools
ID: 16647048
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
 
LVL 3

Author Comment

by:andrew67
ID: 16647090
i know this might sound silly but how do i post it to the community support

thanks
0
 
LVL 19

Expert Comment

by:jools
ID: 16647198
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
 
LVL 3

Author Comment

by:andrew67
ID: 16647241
thanks
0
 
LVL 19

Expert Comment

by:jools
ID: 16666859
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
 

Accepted Solution

by:
GranMod earned 0 total points
ID: 16666929
PAQ-ing the question and refunding 50 points

Thanks jools.

GranMod
The Experts Exchange
Community Support Moderator of all Ages
0

Featured Post

Free recovery tool for Microsoft Active Directory

Veeam Explorer for Microsoft Active Directory provides fast and reliable object-level recovery for Active Directory from a single-pass, agentless backup or storage snapshot — without the need to restore an entire virtual machine or use third-party tools.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Fine Tune your automatic Updates for Ubuntu / Debian
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month18 days, 17 hours left to enroll

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question