vb.org Archive

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

caocao1 04-12-2008 04:28 PM

Error backup
 
Quote:

Database error in vBulletin 3.6.9:

Invalid SQL:
SHOW CREATE TABLE postparsed;

MySQL Error : MySQL server has gone away
Error Number : 2006
Date : Saturday, April 12th 2008 @ 01:25:48 PM
Script : http://xxxxx/forum/admincp/backup.php?do=sqlfile
Referrer : http://xxxxxx/forum/admincp/backup.php?do=choose
IP Address : xx.xxxx.xxx.1xx
Username : abcd
Classname : vB_Database
A new error:
Quote:

Database error in vBulletin 3.6.9:

Invalid SQL:

INSERT IGNORE INTO session
(sessionhash, userid, host, idhash, lastactivity, location, styleid, languageid, loggedin, inforum, inthread, incalendar, badlocation, useragent, bypass, profileupdate)
VALUES
('944c03b583b42dab7cff69fc41aa6020', 1, '58.187.203.124', 'b108bb1393dc758aed90972e0b0b2578', 1208021422, '/forum/admincp/repair.php?do=dorepair&do=dorepair', 0, 0, 1, 0, 0, 0, 0, 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.13) Gecko/20080311 Firefox/2.0.0.13', 0, 0);

MySQL Error : MySQL server has gone away
Error Number : 2006
Date : Saturday, April 12th 2008 @
Script : http://xxxxxx/forum/admincp/repair.php?do=dorepair
Referrer : http://xxxxxx/forum/admincp/repair.php?do=list
IP Address : xxx.xxx.xxxx.xxxx
Username : abcd
Classname : vB_Database

What is it ?
Pls help me''\

Lynne 04-12-2008 04:38 PM

This is a server issue. See this: http://www.vbulletin.com/docs/html/t...mysql_goneaway

caocao1 04-12-2008 04:53 PM

thanks :D

Marco van Herwaarden 04-13-2008 09:59 AM

The only reliable method of backing up and restoring a database is with shell access via telnet or ssh. This is because backing up with a PHP script like that in the Admin CP or phpMyAdmin can result in PHP timeouts errors and an incomplete backup file. Please see the instructions here:

Backup:
http://www.vbulletin.com/docs/html/m...nce_ssh_backup

Restore:
http://www.vbulletin.com/docs/html/m...ce_ssh_restore

P.S. If you don't have shell access, some people have also reported success with these scripts:

MySQLDumper:
http://www.mysqldumper.de/en/index.php

MySQLHotxcopy:
http://www.vbulletin.com/forum/showt...t=mysqlhotcopy

Bigdump:
http://www.ozerov.de/bigdump.php


All times are GMT. The time now is 09:18 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.01066 seconds
  • Memory Usage 1,717KB
  • 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
  • (2)bbcode_quote_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