Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 11-13-2008, 01:14 AM
Calricdal Calricdal is offline
 
Join Date: May 2008
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Database Error

Right now our Forum has been down for most of today. When try to reach our forum at http://www.dairylandbjd.com/forum/index.php you get the following:

Database error
The database has encountered a problem.
Please try the following:

* Load the page again by clicking the Refresh button in your web browser.
* Open the www.dairylandbjd.com home page, then try to open another page.
* Click the Back button to try another link.

The www.dairylandbjd.com forum technical staff have been notified of the error, though you may contact them if the problem persists.

We apologise for any inconvenience.


There is no other information on the page....it might be some SQL error but there's no other information.

I can't even get our the admin page at http://www.dairylandbjd.com/forum/admincp/index.php


I'd like to take the forum down but I can't even do that.

I need some help in figuring out what the problem is and how I can resolve it. Right now, I'm sure where to look for the right information. We are using vBullentin 3.7
Reply With Quote
  #2  
Old 11-13-2008, 01:15 AM
DieselMinded's Avatar
DieselMinded DieselMinded is offline
 
Join Date: Mar 2007
Posts: 1,655
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<!--
Database error in vBulletin :

mysql_connect(): Access denied for user 'kyle18'@'localhost' (using password: YES)
/forum/includes/class_core.php on line 311

MySQL Error :
Error Number :
Request Date : Thursday, November 13th 2008 @ 03:14:58 AM
Error Date : Thursday, November 13th 2008 @ 03:14:58 AM
Script : http://www.dairylandbjd.com/forum/index.php
Referrer : https://vborg.vbsupport.ru/showthread.php?t=196130
IP Address : 67.142.130.37
Username :
Classname : vb_database
MySQL Version :
-->


Make sure your MySQL details in config.php are correct.
Reply With Quote
  #3  
Old 11-13-2008, 02:20 AM
Calricdal Calricdal is offline
 
Join Date: May 2008
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Got that one solved, but now I'm getting THIS error message:

<!--
Database error in vBulletin 3.7.0:

Invalid SQL:

SELECT
userfield.*, usertextfield.*, user.*, UNIX_TIMESTAMP(passworddate) AS passworddate,
IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid,
language.phrasegroup_holiday AS phrasegroup_holiday,
language.phrasegroup_global AS phrasegroup_global,
language.options AS lang_options,
language.languagecode AS lang_code,
language.charset AS lang_charset,
language.locale AS lang_locale,
language.imagesoverride AS lang_imagesoverride,
language.dateoverride AS lang_dateoverride,
language.timeoverride AS lang_timeoverride,
language.registereddateoverride AS lang_registereddateoverride,
language.calformat1override AS lang_calformat1override,
language.calformat2override AS lang_calformat2override,
language.logdateoverride AS lang_logdateoverride,
language.decimalsep AS lang_decimalsep,
language.thousandsep AS lang_thousandsep

FROM user AS user
LEFT JOIN userfield AS userfield ON (user.userid = userfield.userid)
LEFT JOIN usertextfield AS usertextfield ON (usertextfield.userid = user.userid) LEFT JOIN language AS language ON (language.languageid = IF(user.languageid = 0, 1, user.languageid))

WHERE user.userid = 2;

MySQL Error : Can't open file: 'user.MYI' (errno: 145)
Error Number : 1016
Request Date : Thursday, November 13th 2008 @ 04:15:14 AM
Error Date : Thursday, November 13th 2008 @ 04:15:14 AM
Script : http://www.dairylandbjd.com/forum/index.php
Referrer :
IP Address : 216.180.210.134
Username :
Classname : vb_database
MySQL Version :
-->
Reply With Quote
  #4  
Old 11-13-2008, 02:23 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Are you sure your config.php file is correct and pointing to the correct database? You could try doing a repair/optimize on your user table.
Reply With Quote
  #5  
Old 11-13-2008, 02:26 AM
DieselMinded's Avatar
DieselMinded DieselMinded is offline
 
Join Date: Mar 2007
Posts: 1,655
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can't open file: 'user.MYI' (errno: 145)

I had this problem when i exceeded mysql database size

Log in to your server admin cp and view your database limit
Reply With Quote
  #6  
Old 11-13-2008, 02:58 AM
Calricdal Calricdal is offline
 
Join Date: May 2008
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I logged in to my server admin cp, and just for the heck of it clicked VIEW on the forum's index.php file and there I was, on the forum. I'm not sure why that worked, but I was able to get to the Admin Control Panel and repair the tables.

Thanks for the help everyone.
Reply With Quote
  #7  
Old 11-13-2008, 03:04 AM
DieselMinded's Avatar
DieselMinded DieselMinded is offline
 
Join Date: Mar 2007
Posts: 1,655
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

user.MYI is one of the last Tables in your database , you may of been able to repair and optimize this time but i bet its a matter of time before this happens again because your database is full and it loaded all the tables up to the users.myi then stopped

Been there done that
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:45 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.03720 seconds
  • Memory Usage 2,218KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete