Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 06-03-2003, 11:27 AM   #1
jovigirl
Confirmed User
 
jovigirl's Avatar
 
Join Date: Apr 2003
Location: On the edge
Posts: 1,796
Sql error Please help

Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /usr2/mydomain.com/web/pp-inc.php on line 58
I cannot connect to the PhotoPost database. [$php_errormsg]

Anyone knows how to solve this?
Im getting stuck
__________________
ICQ :333-548-380
jovigirl is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-03-2003, 11:33 AM   #2
loverboy
When it rains, it pours
 
Industry Role:
Join Date: May 2003
Posts: 20,609
tried rebooting your server?
loverboy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-03-2003, 11:40 AM   #3
scooby doo as scooby does
Confirmed User
 
Join Date: Nov 2002
Location: A deep dark place.
Posts: 314
On the 'corruption' front, could be a million and one things.

On the 'settings' front, most likely (duh!) you have too many SQL connections open.
Is it a busy site ? Are connections set to 'persistant' ?
Has the default max number of 100 been reduced ?

I would check running processes (mysqladmin proc) to see how many are using sql. Compare to your max connections setting (mysqladmin var).

You may wanna reboot b4 you change anything, or restart mysql. Then you could try increasing the number of max connections set in my.cnf then restart mysql. (dont increase beyond your systems capacity).
__________________
In 1904, Charles Newman-Berry connected two abacus's together using specially enhanced GrapeVine thus inventing the first Internet connection.

NEWMAN-BERRY CASH
Paying webmaster since 1904
scooby doo as scooby does is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-03-2003, 11:42 AM   #4
pantymaniac
Confirmed User
 
Join Date: Feb 2003
Location: In Your GF's Panty.
Posts: 1,192
your hosting mysql server is fucked up , contact to them if you get this message after some working days , if not , if you got this message first time you install , it can be your fault about configuring . open with txt editor and check line 58
__________________
This place is for RENT
pantymaniac is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-03-2003, 12:39 PM   #5
jovigirl
Confirmed User
 
jovigirl's Avatar
 
Join Date: Apr 2003
Location: On the edge
Posts: 1,796
Quote:
Originally posted by scooby doo as scooby does
On the 'corruption' front, could be a million and one things.

On the 'settings' front, most likely (duh!) you have too many SQL connections open.
Is it a busy site ? Are connections set to 'persistant' ?
Has the default max number of 100 been reduced ?

I would check running processes (mysqladmin proc) to see how many are using sql. Compare to your max connections setting (mysqladmin var).

You may wanna reboot b4 you change anything, or restart mysql. Then you could try increasing the number of max connections set in my.cnf then restart mysql. (dont increase beyond your systems capacity).
Thx its working now
__________________
ICQ :333-548-380
jovigirl is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-03-2003, 12:42 PM   #6
Why
MFBA
 
Industry Role:
Join Date: Mar 2003
Location: PNW
Posts: 7,230
Quote:
Originally posted by loverboy
tried rebooting your server?
linux doesnt need hourly reboots like windows
Why is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-03-2003, 12:54 PM   #7
JDog
Confirmed User
 
Join Date: Feb 2003
Location: Canby, OR
Posts: 7,453
Quote:
Originally posted by scooby doo as scooby does
On the 'corruption' front, could be a million and one things.

On the 'settings' front, most likely (duh!) you have too many SQL connections open.
Is it a busy site ? Are connections set to 'persistant' ?
Has the default max number of 100 been reduced ?
Wouldn't be a too many connections - cuz you would get error connecting to mysql server - too many connections. I would recommend restarting mysql before rebooting, because rebooting could cause more problems.

jDoG
__________________
NSCash now powering ReelProfits.com
ALSO FEATURING: NSCash.com :: SoloDollars.com :: ReelProfits.com :: BiminiBucks.com :: VOD
PROGRAMS COMING SOON: Greedy Bucks :: Vengeance Cash
NOW OFFERING OVER 60 SITES
CONTACT :: JAMES SMITH :: CHIEF TECHNOLOGY OFFICER :: ICQ (711385133)
JDog is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.