vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Forum and Server Management (https://vborg.vbsupport.ru/forumdisplay.php?f=232)
-   -   Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (11) (https://vborg.vbsupport.ru/showthread.php?t=190652)

TheInsaneManiac 09-11-2008 02:02 PM

Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (11)
 
I'm getting this error during the early morning and late at night. These are usually times when no one, but google is online. However when I get this error, it causes the forums to remain offline until I restart them.

Lynne 09-11-2008 03:01 PM

<a href="http://www.vbulletin.com/docs/html/cantconnect" target="_blank">http://www.vbulletin.com/docs/html/cantconnect</a>

TheInsaneManiac 09-11-2008 03:22 PM

Yea, but I don't ALWAYS get those this error.

Lynne 09-11-2008 03:28 PM

OK, then maybe mysql crashed and was restarted. Check your mysql logs to see. Or, send a copy of the error to your host and perhaps they can change your mysql settings.

TheInsaneManiac 09-11-2008 07:29 PM

Quote:

Originally Posted by Lynne (Post 1619926)
OK, then maybe mysql crashed and was restarted. Check your mysql logs to see. Or, send a copy of the error to your host and perhaps they can change your mysql settings.

I kind of dont have full root access, so how would I go about checking the MYSQL logs?

Lynne 09-11-2008 07:52 PM

I go to see mine in /var/lib/mysql but I have no idea where yours are. You may have to talk to your host about this issue.

Angel-Wings 09-11-2008 10:06 PM

Quote:

Originally Posted by TheInsaneManiac (Post 1620075)
I kind of dont have full root access, so how would I go about checking the MYSQL logs?

Without Root Access there's usually no need searching for them, except your Host's filesystem permissions are very wrong set.

Can you connect to MySQL manually with the user / password from your board's config.php ?
Something like:

mysql --user ... --password ...

If not - dunno about your hosting interface but maybe check if the User given in the config.php file exists and has the permissions to access the board database. If not - create a new one and try with that one.

If there's still an error - recommend as well contacting your hoster about this issue

TheInsaneManiac 09-12-2008 01:52 AM

Quote:

Originally Posted by Angel-Wings (Post 1620167)
Without Root Access there's usually no need searching for them, except your Host's filesystem permissions are very wrong set.

Can you connect to MySQL manually with the user / password from your board's config.php ?
Something like:

mysql --user ... --password ...

If not - dunno about your hosting interface but maybe check if the User given in the config.php file exists and has the permissions to access the board database. If not - create a new one and try with that one.

If there's still an error - recommend as well contacting your hoster about this issue

I can connect fine, it just randomly happens at times when no one is usually on.


All times are GMT. The time now is 12:49 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.01192 seconds
  • Memory Usage 1,729KB
  • 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
  • (8)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