PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |
Old November 17th, 2005, 06:00 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Jun 2004
Posts: 131
Link-ID == false, connect failed mysql error number: 0

Can anyone share some possible causes of this error?

Thank you
StewardManscat is offline   Reply With Quote
Old November 22nd, 2005, 01:56 AM   #2 (permalink)
rbl
Senior Member
Verified Customer
 
Join Date: Aug 2003
Location: Portugal
Posts: 492
Send a message via AIM to rbl Send a message via MSN to rbl
I have experienced these errors on several occasions but never on vBG.
Are you sure they relate to vBG and not anything else?
rbl is offline   Reply With Quote
Old November 22nd, 2005, 10:29 AM   #3 (permalink)
Registered User
Verified Customer
 
Zachariah's Avatar
 
Join Date: Nov 2005
Location: Canoga Park, CA
Posts: 3,229
Send a message via ICQ to Zachariah Send a message via AIM to Zachariah Send a message via MSN to Zachariah Send a message via Skype™ to Zachariah
Link-ID == false, connect failed mysql error number: 0

MySQL isn't accepting new connections. (The server could either be down or has reached it's maximum connections limit - either on the server level or user level.) If you are sure your config.php info is correct, then you will need to contact your host about this.

Mysql outages happen on "shared" host sometime also. If website A,B,C run on a server and "B" re-index. This could red line the and give timeouts / connect failed errors to the other sites hosted.

I have had to yell a lot (e-mail tag for a month) and have server changes to my account @ my host.

Last edited by Zachariah; November 22nd, 2005 at 10:31 AM.
Zachariah is offline   Reply With Quote
Old November 22nd, 2005, 11:12 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,666
Powweb or Ipowerweb are famous for these types of errors in general they simply shut down the whole mysql server for a specified period of time after you reach x amount of mysql requests
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old November 22nd, 2005, 11:19 AM   #5 (permalink)
Registered User
Verified Customer
 
Zachariah's Avatar
 
Join Date: Nov 2005
Location: Canoga Park, CA
Posts: 3,229
Send a message via ICQ to Zachariah Send a message via AIM to Zachariah Send a message via MSN to Zachariah Send a message via Skype™ to Zachariah
Quote:
Originally Posted by Chuck S
Powweb or Ipowerweb are famous for these types of errors in general they simply shut down the whole mysql server for a specified period of time after you reach x amount of mysql requests
I had an idea of sequential mysql usernames on the same DB - in thought that each account would get 50,000 questions or what ever it is per day/hour. This might get past MAX questions errors many hosts love to give out.
Zachariah is offline   Reply With Quote
Old November 22nd, 2005, 11:55 AM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,666
Yes true but no programs currently use mysql username access arrays on a single database so the best thing with those hosts a user can do is set say vbulletin to one mysql name and the gallery to another
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old November 22nd, 2005, 11:59 AM   #7 (permalink)
Ultimate Member
Verified Customer
 
ConqSoft's Avatar
 
Join Date: Nov 2003
Location: Raleigh, NC
Posts: 1,417
But PhotoPost vBGallery is integrated with vBulletin, and uses all vBulletin connection info. No separate configuration.
ConqSoft is offline   Reply With Quote
Old November 22nd, 2005, 01:54 PM   #8 (permalink)
Registered User
Verified Customer
 
Zachariah's Avatar
 
Join Date: Nov 2005
Location: Canoga Park, CA
Posts: 3,229
Send a message via ICQ to Zachariah Send a message via AIM to Zachariah Send a message via MSN to Zachariah Send a message via Skype™ to Zachariah
Quote:
Originally Posted by ConqSoft
But PhotoPost vBGallery is integrated with vBulletin, and uses all vBulletin connection info. No separate configuration.
Here was some thoughts from: Freddie Bingham @ vb.com

Quote:
Originally Posted by Zachariah
This may be a vb.org hack, but I am sure others may have ran into this issue.

I have ran into webhosts that because of "hackers and server loads" have a cap on questions mySQL server can be given in a time frame. ( I do not know the time frame)

"Error: SQL server exceeded 50,000 max questions" --- All mySQL is stoped for like 5 min then all is ok. The server it self auto temp bans then mysql account.

I was thinking of a script / VB Scheduled Task that would do steps like "Rebuild Search Index" to do like 10,000 questions a day/hour/whatever or some set value untill done. Is there a way to start and index, "pause" and contenue later ? - There may be many other "index" type operations that need this "if it can be done"

Most if not all of the Maintenance => Update Counters tasks.
Quote:
Originally Posted by Freddie Bingham
One workaround is to create multiple mysql users in your hosting account. In config.php you randomly pick one of these users to connect to the database. This will spread the questions between users and since the limit is per user, you can usually overcome the problem.
Zachariah is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error: cannot connect to the Users database siteworthy Photopost Pro Installation & Upgrades 9 January 3rd, 2006 09:57 AM
mysql error number: 1062 hiskitten Bugs From 1.0.0 12 June 3rd, 2005 11:46 PM
Unable to connect to mysql 'localhost'..... NJTackle Photopost Pro Installation & Upgrades 1 January 24th, 2005 10:10 PM
error message: cannot connect to the user database asherariel Photopost Pro Installation & Upgrades 1 July 24th, 2004 12:13 PM
Failed MySQL Query: [Resource id #4]:UPDATE settings SET setting='vb2' WHERE id=41 vchavez Photopost Pro Installation & Upgrades 1 July 5th, 2004 11:25 AM


All times are GMT -5. The time now is 08:06 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0