MySQL Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesMySQL Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
1200+ fellow developers rate and compare features of the top IDEs, like Visual Studio, Eclipse, RAD, Delphi and others, across 13 categories. Enjoy this FREE Download of the IDE User Satisfaction Study by Evans Data Corporation. Download Now!
  #1  
Old June 24th, 2000, 11:44 AM
talambert talambert is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2000
Posts: 36 talambert User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
I have tried everything but keep having problems with the mysql.sock unix socket file. First I installed the normal way (source compile) and kept having problems with the socket. I tried to change the path from the default (/tmp/mysql.sock) to a new path (/usr/local/mysql/socket/mysql.sock). It still didn't work and the documentation says to try a binary install. I did this and it works fine now except for one thing.

When I run "mysqladmin variables" it correctly identifies the socket path (/tmp) but when I try to connect from a browser via PHP, it says that it is unable to connect to msyql via socket /usr/local/mysql/socket/mysql.sock. I have tried to set the socket path both in the invocation of safe_mysqld in the mysql.server script and using a /tmp/my.cnf file but to no avail. Any ideas?

Cheers
Tom

Last edited by talambert : September 24th, 2003 at 11:52 AM.

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesMySQL Help > mysql.sock path problem


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway