vb.org Archive

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

kellyandmark04 12-07-2010 01:23 AM

Upgrading Database Error
 
I was upgrading from 3.6 to 3.8. I uploaded all the files and editted the config file and when I run the upgrade script I get the error

mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (13)
/mounted-storage/home5/sub001/sc12333-CTGL/mysite.com/forum/includes/class_core.php on line 311

Cpanel is just a white blank page.
My site just gives a database error.

Any info on what to check? Thanks!

Lynne 12-07-2010 01:31 AM

cPanel is a white blank page? If so, you need to talk to your host about this. And actually, that error is a server error, so you need to talk to them anyway.

kellyandmark04 12-07-2010 01:36 AM

^^^That's what I was thinking. Thanks for your help and the quick reply!!!!!

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

If I reupload the 3.6 I had then install it and use the backup I have do you think it will work??? It was working fine before the upgrade.

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

Also on this server I have banners that are hosted on other sites and they are still up and showing if that helps.

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

I have seen some things saying change localhost, but not sure what to change it to. Here was the thread

http://www.vbulletin.com/forum/archi...t-265204.html?

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

Tried reinstalling the vb I had previously and running the install script and got the same error once it tried to verify the database and it said to

The database has failed to connect because you do not have permission to connect to the server. Please confirm the values entered in the 'includes/config.php' file.

Lynne 12-07-2010 02:02 PM

Have you disabled all your plugins?
Note: To temporarily disable the plugin system, edit includes/config.php and add this line right under <?php

PHP Code:

define('DISABLE_HOOKS'true); 

See if that helps. Also, double-check your config.php file cuz it sounds like something is wrong there. And, make sure you edit that file using a plain text editor or you will cause problems. Do you have a backup of that file somewhere? Can you confirm the values in there with your host, if need be?


All times are GMT. The time now is 12:36 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.01088 seconds
  • Memory Usage 1,719KB
  • 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_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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