vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Database error (https://vborg.vbsupport.ru/showthread.php?t=295055)

Skivey 02-12-2013 06:19 PM

Database error
 
What is it? Had it once the last 2 days, at "about" the same time...

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/*****/public_html/forum/includes/class_core.php on line 317

MySQL Error :
Error Number :
Request Date : Monday, February 11th 2013 @ 01:06:50 AM
Error Date : Monday, February 11th 2013 @ 01:06:50 AM
Script : http://forum.rsclassics360.co.uk/index.php
Referrer : http://forum.rsclassics360.co.uk/index.php
IP Address : ***********
Username :
Classname : vB_Database
MySQL Version :

Amaury 02-12-2013 06:28 PM

Quote:

Originally Posted by Skivey (Post 2403821)
What is it? Had it once the last 2 days, at "about" the same time...

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/*****/public_html/forum/includes/class_core.php on line 317

MySQL Error :
Error Number :
Request Date : Monday, February 11th 2013 @ 01:06:50 AM
Error Date : Monday, February 11th 2013 @ 01:06:50 AM
Script : http://forum.rsclassics360.co.uk/index.php
Referrer : http://forum.rsclassics360.co.uk/index.php
IP Address : ***********
Username :
Classname : vB_Database
MySQL Version :

Are those blank fields actually blank or did you blank them yourself?

ForceHSS 02-12-2013 06:35 PM

the username or password or both are wrong in your config.php file

Skivey 02-12-2013 10:45 PM

its a direct copy and paste

As for the username or password wrong, impossible as the site is working. however when I look into it, it is all correct anyway :)

Bizarre isnt it.

Its only happened since I moved to a new server a couple of days ago

--------------- Added [DATE]1360712885[/DATE] at [TIME]1360712885[/TIME] ---------------

also, the 2 different errors, the IP addresses are different....

ForceHSS 02-12-2013 10:57 PM

this Tabs System by vbSoporte - vBulletin en EspaƱol is not needed in 4.2.0 it will cause you problems

betterthanyours 02-14-2013 11:41 AM

Code:

Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
It's a hosting issue. Ask your host to check the mysql socket when this happens

Skivey 02-14-2013 04:20 PM

Quote:

Originally Posted by betterthanyours (Post 2404202)
Code:

Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
It's a hosting issue. Ask your host to check the mysql socket when this happens

I host it myself :)

--------------- Added [DATE]1360862520[/DATE] at [TIME]1360862520[/TIME] ---------------

Quote:

Originally Posted by ForceHSS (Post 2403884)
this Tabs System by vbSoporte - vBulletin en Espa?ol is not needed in 4.2.0 it will cause you problems

Ill check it out. I know its not needed though. Havent bothered to play around with it to get it converted to VB. Thanks though, ill try this.

Matt


All times are GMT. The time now is 01:41 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.01033 seconds
  • Memory Usage 1,726KB
  • 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
  • (2)bbcode_code_printable
  • (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