GIDForums  

Go Back   GIDForums > Web Hosting Forums > Apache Web Server Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 15-Jan-2007, 21:12
sk3ptic sk3ptic is offline
New Member
 
Join Date: Jan 2007
Posts: 9
sk3ptic is on a distinguished road

MYSQL_SOCKET /var/run/mysqld/mysqld.sock


MYSQL_SOCKET /var/run/mysqld/mysqld.sock
is the current setting displayed in my php info file but the actual mysqld.sock is actually in /tmp/mysqld.sock to quickly solve the problem i did a symbolic link. Can someone tell me how to edit the MYSQL_SOCKET /var/run/mysqld/mysqld.sock value?
  #2  
Old 15-Jan-2007, 21:55
JdS's Avatar
JdS JdS is offline
Senior Member
 
Join Date: Aug 2001
Location: KUL, Malaysia
Posts: 3,371
JdS will become famous soon enough

Re: MYSQL_SOCKET /var/run/mysqld/mysqld.sock


I just checked my phpinfo page (Windows XP, PHP4+) and didn't find a MYSQL_SOCKET line. What I have is: mysql.default_socket.

If this is what you mean, you need to edit your php.ini file. Then restart the web server...
  #3  
Old 15-Jan-2007, 23:40
sk3ptic sk3ptic is offline
New Member
 
Join Date: Jan 2007
Posts: 9
sk3ptic is on a distinguished road

Re: MYSQL_SOCKET /var/run/mysqld/mysqld.sock


if you type the following code and run it in apache then look at the page
under mysql you will se the exact line

MYSQL_SOCKET /var/run/mysqld/mysqld.sock OR
MYSQL_SOCKET /tmp/mysqld.sock

code: <? phpinfo(); ?>


my mysqld.sock is in the opposite of the one phpinfo thinks it's in
im trying to figure out how to change it. Anyone know?
  #4  
Old 16-Jan-2007, 00:00
JdS's Avatar
JdS JdS is offline
Senior Member
 
Join Date: Aug 2001
Location: KUL, Malaysia
Posts: 3,371
JdS will become famous soon enough

Re: MYSQL_SOCKET /var/run/mysqld/mysqld.sock


Right. I was looking at my Windows setup and that's different.

Have you looked inside the my.cnf file for the setting?
  #5  
Old 16-Jan-2007, 23:35
sk3ptic sk3ptic is offline
New Member
 
Join Date: Jan 2007
Posts: 9
sk3ptic is on a distinguished road

Re: MYSQL_SOCKET /var/run/mysqld/mysqld.sock


omg im so dumb i some how missed it the first time. it's in my.cnf thanks jds
 
 

Recent GIDBlogProblems with the Navy (Officers) by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
Forum Jump

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 14:56.


vBulletin, Copyright © 2000 - 2010, Jelsoft Enterprises Ltd.