vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   importing DB problem from ssh (https://vborg.vbsupport.ru/showthread.php?t=153613)

badboyz 07-28-2007 02:10 AM

importing DB problem from ssh
 
Quote:

ERROR 1064 (42000) at line 1: 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 '
?ǰZ G[E}????2?QdU??!SS z???/?????w@VW`?8%?J?k??&?K' at line 1
im getting this error why?

Marco van Herwaarden 07-28-2007 05:42 AM

How was the backup created?
How was the backup file transfered to the new server (assuming you are moving)?
What is the MySQL version for both source and target server?

badboyz 07-28-2007 10:16 PM

i created backup from phpmyadmin

im trying to transfer by using ssh(putty)

I dunt know abut MySQL version

Marco van Herwaarden 07-29-2007 05:57 AM

I would start by creating the backup also from SSH.

Eikinskjaldi 07-29-2007 08:10 AM

You need to make sure binary strings are dumped as hexadecimal using the --hex-blob flag. I assume there is something for this in phhpmyadmin, but it would be a guess as I have never used it.

badboyz 07-30-2007 12:15 AM

Quote:

Originally Posted by Marco van Herwaarden (Post 1304428)
I would start by creating the backup also from SSH.

how do i backup from ssh?

Kirk Y 07-30-2007 02:26 AM

See here: http://www.vbulletin.com/docs/html/m...nce_ssh_backup

badboyz 07-30-2007 11:57 AM

Quote:

Originally Posted by Kirk Y (Post 1305037)

but i dunt have the access to ssh on that hosting i was on.now im using a dedicated server for my forums and trying to use the same database

Marco van Herwaarden 07-30-2007 12:16 PM

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

badboyz 07-30-2007 12:55 PM

Quote:

Originally Posted by Marco van Herwaarden (Post 1305318)
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

since i dunt have the shell access i downloaded the database from phpmyadmin and tried to import by using ssh and bigdum.php.both methods gave me errors.


All times are GMT. The time now is 08:16 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.01538 seconds
  • Memory Usage 1,736KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete