vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   vBulletin Database Error ...please help (https://vborg.vbsupport.ru/showthread.php?t=209428)

saadessa 03-25-2009 05:51 PM

vBulletin Database Error ...please help
 
any one have solution for this error



Database error in vBulletin :

mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
/home/saad6/public_html/includes/class_core.php on line 311

MySQL Error :
Error Number :
Request Date : Wednesday, March 25th 2009 @ 02:30:22 PM
Error Date : Wednesday, March 25th 2009 @ 02:30:22 PM
Script : http://www.saad6.com/external.php?type=rss2&forumids=22
Referrer :
IP Address : 174.132.89.130
Username :
Classname : vB_Database
MySQL Version


thank you

RLShare 03-25-2009 05:56 PM

That means it couldn't connect to your Mysql database which means 1 of 3 things
1. Your mysql server went down.
2. Your mysql server reached it limits of resources at that instance and refused the connection
3. You have your details wrong in the config.php file.

Since it is working now, I would guess it is option 2

saadessa 03-26-2009 06:28 PM

Quote:

Originally Posted by RLShare (Post 1776838)
That means it couldn't connect to your Mysql database which means 1 of 3 things
1. Your mysql server went down.
2. Your mysql server reached it limits of resources at that instance and refused the connection
3. You have your details wrong in the config.php file.

Since it is working now, I would guess it is option 2




thank you
RLShare for your help ....i will Try to repair

ilrglen 08-05-2009 12:25 AM

Quote:

Originally Posted by RLShare (Post 1776838)
That means it couldn't connect to your Mysql database which means 1 of 3 things
1. Your mysql server went down.
2. Your mysql server reached it limits of resources at that instance and refused the connection
3. You have your details wrong in the config.php file.

Since it is working now, I would guess it is option 2

My problem looks kinda similar. Can you help me out? Everything just stopped working and I can't even get into my admincp...

Database error in vBulletin :

mysqli_real_connect() [<a href='function.mysqli-real-connect'>function.mysqli-real-connect</a>]: (HY000/2002): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)
/var/www/html/Forums/includes/class_core.php on line 1138

Any ideas to help me out? Thanks.

Lynne 08-05-2009 01:24 AM

See this page for the causes of this error: http://www.vbulletin.com/docs/html/cantconnect (it lists the same three things listed before)

ilrglen 08-05-2009 04:09 AM

Quote:

Originally Posted by Lynne (Post 1861554)
See this page for the causes of this error: http://www.vbulletin.com/docs/html/cantconnect (it lists the same three things listed before)

Thanks. That is helpful. I thought it might be an ISP server problem and hope they can sort it out soon. Am I going to lose everything when it comes back online or does the software save as it goes?

Lynne 08-05-2009 03:53 PM

Your database should be fine unless something else also happened. You do make backups though, right? (If not, take a look in this forum at all the sob stories from admins who didn't make backups and lost everything.)


All times are GMT. The time now is 10:28 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00944 seconds
  • Memory Usage 1,725KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete