Announcement

Collapse
No announcement yet.

Database error in vBulletin 3.0.1:

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Database error in vBulletin 3.0.1:

    How can I install a backup database when it will not let me into the admincp?

    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
    INNER JOIN userfield AS userfield ON (user.userid = userfield.userid)
    INNER JOIN usertextfield AS usertextfield ON (usertextfield.userid = user.userid) INNER JOIN language AS language ON (language.languageid = IF(user.languageid = 0, 1, user.languageid))
    WHERE user.userid = 1

    mysql error: Can't open file: 'user.MYD'. (errno: 145)

    mysql error number: 1016

  • #2
    For your specific error, go into phpmyadmin and run this command


    REPAIR TABLE user;

    You cannot restore backups from the admincp you must restore them via phpmyadmin or SSH via the mysql command

    http://www.vbulletin.com/docs/html/main/moving_servers

    For more info.

    Comment


    • #3
      No access to .myd files means the table has been locked, this is most times due to corruption. Run optimize & repair on your database tables and try again - properly, like zachery suggested.

      Comment


      • #4
        Thank you, its working again....

        Comment

        widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
        Working...
        X