vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   Ran repair.php to optimize database and messed up everything. .. (https://vborg.vbsupport.ru/showthread.php?t=51418)

ryancooper 04-09-2003 10:05 PM

Ran repair.php to optimize database and messed up everything. ..
 
Hopefully someone here can help me so i do not have t ogo redo 2 years of work. I had a huge database 2.7 gigs and had to try to shrink it so I ran repair.php.

now I am recieveing the following error. . .


Database error in vBulletin 2.2.6:

Invalid SQL: SELECT post.postid, post.userid, post.pagetext, post.topic, user.username as username, attachment.attachmentid,attachment.filename,attach ment.visible AS attachmentvisible,attachment.counter
FROM post LEFT JOIN user ON (post.userid = user.userid) LEFT JOIN attachment ON attachment.attachmentid=post.attachmentid
WHERE threadid=11529 ORDER BY postid LIMIT 1
mysql error: Can't open file: 'post.MYI'. (errno: 144)

mysql error number: 1016

Date: Wednesday 09th of April 2003 06:46:31 PM
Script: http://www.talkdisney.com/forums/
Referer:


Please can anyone help?? :dead:

amykhar 04-09-2003 10:16 PM

Close your board.

Log into SSH and run the command you see in this post:

http://www.vbulletin.com/forum/showp...94&postcount=3

Note: Don't put a space between the -u and your username and the -p and your password. It should look like -umyusername -pmypassword

Hope that helps.

Amy

ryancooper 04-09-2003 10:18 PM

Thank you so much amy, I will give it a try. . .

ryancooper 04-09-2003 10:26 PM

I get the following error:

You should give only options, no arguments at all, with option
--all-databases. Please see mysqlcheck --help for more information.
bash-2.05$
\
So i checked the mysqlcheck --help and saw a option for (true or false)

OK so i tried

mysqlcheck -o -u root -p --all-databases=true and got

bash-2.05$ mysqlcheck -o -utalkdis_ryancoop root -p******** --all-databases=true
mysqlcheck: Got error: 1044: Access denied for user: 'talkdis_ryancoop@localhost' to database 'root' when selecting the database

username and pass are correct. . ???

[Edit: I took out your db password. No sense letting everyone know what it is. - Steve]

amykhar 04-09-2003 10:29 PM

you have a space between the -u and root.

Amy

ryancooper 04-09-2003 10:33 PM

ahh I thought i copied it exactly. Will try again. Thank you so much for your help. . . :)

Question. . .

mysqlcheck -o -u root -p --all-databases

is what is says to run so I need

mysqlcheck -o -uUSERNAME root -pPASSWORD --all-databases

or

mysqlcheck -o -uUSERNAMEroot -pPASSWORD --all-databases

no space -uUSERNAMEroot

amykhar 04-09-2003 11:40 PM

mysqlcheck -o -uroot -p(put your password here) --all-databases

Amy

ryancooper 04-10-2003 12:38 AM

ahh thanks. . . will try. ..


All times are GMT. The time now is 02:42 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.01055 seconds
  • Memory Usage 1,724KB
  • 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)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