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 - Table Handling (https://vborg.vbsupport.ru/showthread.php?t=150534)

Mean 06-24-2007 03:11 PM

Database Error - Table Handling
 
I 've impexed my MyBB yo vBulletin.. Impex files and mybb are still in ftp.
MyBb and Vbulletin is in the same Database.

mybb is on default root
vbulletin is in /forum

Error is this >

PHP Code:

Database error in vBulletin 3.6.7:

Invalid SQL:

        
SELECT
            user
.username, (user.options 512) AS invisibleuser.usergroupid,
            
session.useridsession.inforumsession.lastactivity,
            IF(
displaygroupid=0user.usergroupiddisplaygroupid) AS displaygroupidinfractiongroupid
        FROM vb_session 
AS session
        LEFT JOIN vb_user 
AS user ON(user.userid session.userid)
        
WHERE session.lastactivity 1182594355
        ORDER BY username ASC
;

MySQL Error  Got error 12 from table handler
Error Number 
1030
Date         
SaturdayJune 23rd 2007 01:40:56 PM
Script       
http://www.forumistan.net/forum/index.php?
Referrer     http://www.forumistan.net/forum/showthread.php?p=7397#post7397
IP Address   xxxxx
Username     
xxxxx
Classname    
vb_database 


Lynne 06-24-2007 03:36 PM

You may want to take a look at this thread: http://www.vbulletin.com/forum/showthread.php?t=118580

Mean 06-24-2007 03:40 PM

Sir I cannot understand what he said about ?

Quote:

I don't really remember what the cause of this was. Does mysqld run up to 99% and jamms up? If so, try tracking the query that takes all of the resources. I recently solved that prob by checking out slow queries of mysl. In /etc/my.cnf add the
log-slow-queries=/var/log/mysql-slow.log
set-variable = long_query_time=10
log-long-format # this will log selects not using indexes


All times are GMT. The time now is 07:28 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.00958 seconds
  • Memory Usage 1,722KB
  • 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)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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