vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Upgrading to 3.6 vBulletin error (https://vborg.vbsupport.ru/showthread.php?t=143368)

twilighthush 03-28-2007 12:05 AM

Upgrading to 3.6 vBulletin error
 
Trying to upgrade from 3.6.0 to 3.6.5, I encountered the following error:

Quote:

Database error in vBulletin :

mysql_connect(): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (46)
/forums/includes/class_core.php on line 273

MySQL Error :
Error Number :
Date : Wednesday, March 28th 2007 @ 01:02:18 AM
Script : http://www.sugizolove.com/forums/install/upgrade.php
Referrer :
IP Address : 67.84.227.182
Username :
Classname : vb_database
What should I do to fix this?

calorie 03-28-2007 01:02 AM

Check that the settings in your vB config file are correct.

twilighthush 03-28-2007 01:04 AM

I originally thought that was the problem as well, but when I checked the config file, everything looked okay.

calorie 03-28-2007 01:16 AM

Looks like you're barfing out in db_connect, specifically the line in bold...
Code:

                do
                {
                        $link = $this->functions[$usepconnect ? 'pconnect' : 'connect']("$servername:$port", $username, $password);
                }
                while ($link == false AND $this->reporterror);


twilighthush 03-28-2007 01:20 AM

I'm not sure how to fix this, as I'm relatively new to vBulletin and coding in general. What should I do to rectify this?

calorie 03-28-2007 01:21 AM

Check that the vB database is up and running; verify that you have access to said database: recheck the vB config file for any typos.

twilighthush 03-28-2007 01:31 AM

How can I check if the vB db is up and running? Sorry if I sound like so much of a noob, I kind of am when it comes to vBulletin. I've checked my config file several times; I really don't think I have a typo in there -- the variables match up with the ones from my previous working config file.

calorie 03-28-2007 01:38 AM

Assuming your board is virgin, or you can shut off all hacks via define('DISABLE_HOOKS', true); in your vB config file, contact vBcom support at http://members.vbulletin.com/members...ontactform.php and they can help you with the upgrade.

Marco van Herwaarden 03-28-2007 09:04 AM

mysql_connect(): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (46)

See: http://www.vbulletin.com/docs/html/cantconnect


All times are GMT. The time now is 08:04 AM.

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.00999 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
  • (1)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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