vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   mysql export/import problems... (https://vborg.vbsupport.ru/showthread.php?t=73751)

Trosun 01-04-2005 06:55 AM

mysql export/import problems...
 
I did a backup, using the admincp. It gave me forumbackup-01-04-2005.sql

Reinstalled.

But when i try to run it i get:

ERROR 1064 (42000) at line 11615: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'desc text collate latin1_danish_ci NOT NULL,
ability text collate latin1_danis' at line 5

I haven't touched the file, and i'm really new at this.
What could possibly be wrong? And how do i fix it?

manguish 01-04-2005 07:20 AM

Don't use the admincp for db backups.

Use phpmyadmin or SSH.

Trosun 01-04-2005 08:04 AM

yes i know.
But i didn't get a timeout or anything.
I just thought this was a no-no because of the timeout.

But the db is non-existant. All i got is the sql file.
So i can't make another backup/dump.

rake 01-04-2005 08:55 AM

That's obviously a table that was added with a hack you installed. The error comes from the DESC field in that table, which is a reserved SQL word. Open the file, find that desc field and put ` around it: `desc`.

Or, dump the database again (if it's not too large) using phpmyadmin and be sure to check the "enclose field names in backquotes" option.

Trosun 01-05-2005 08:06 AM

I just removed all the 'inferno_*' thingys.
But now i can't load the entire file because of "max_sends". It's limited to 36000.

What do i do now? Split the file up?
Cause then i get;

ERROR 1062 (23000) at line 1: Duplicate entry '47448' for key 1

please advice...


All times are GMT. The time now is 11:43 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.01505 seconds
  • Memory Usage 1,708KB
  • 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
  • (5)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