vb.org Archive

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

badboyz 05-09-2007 05:45 PM

Database Error
 
Hello

im trying to import my old database into my new server but its giving me this error when i try from bigdump.php:erm:
Quote:

Error at the line 83929: /*!40101 SET SQL_MODE=@OLD_SQL_MODE */;

Query: /*!40101 SET SQL_MODE=@OLD_SQL_MODE */;

MySQL: Variable 'sql_mode' can't be set to the value of 'NULL'
can someone help me

thanks

MrPHD 05-09-2007 06:49 PM

Hi BadBoyz, you are try to upload old DB through Dedicated servers or Hosting? If are try through hosting do not make upload whit php go to PhpMyAdmin and past table for table if you have not space to upload, some hosting companys make default upload files on 2MBs, if you have dedicated server you have one and easy option, through SSH, if you don“t know how to do it, i can help you. Regards

badboyz 05-09-2007 07:54 PM

Quote:

Originally Posted by MrPHD (Post 1244531)
Hi BadBoyz, you are try to upload old DB through Dedicated servers or Hosting? If are try through hosting do not make upload whit php go to PhpMyAdmin and past table for table if you have not space to upload, some hosting companys make default upload files on 2MBs, if you have dedicated server you have one and easy option, through SSH, if you don?t know how to do it, i can help you. Regards

yes i have a Dedicated server.

and i know SSH but how do i upload from it?

MrPHD 05-09-2007 08:59 PM

Hi, on old server you do That:
1 - mysqldump -u root -p NAMEDBTODUMP > filename.sql
2 - For Gzip do this: gzip filename.sql

3- To send to another server or new one, do this: - scp filename.sql.gz root@ip.of.destine.machine:/directory/of/destiny he goes ashk for Password.

On New Server
4 - To decompress Make this: - gunzip filename.sql.gz on new server of corse.

5 - To put Data Base on place make this: - mysql -u root -p BDNAME < filename.sql
you have created a new data base before this.

thats all, have any question, please ask. Regards

badboyz 05-10-2007 11:49 AM

I need to udate mysql version to import that database.

but i have no idea how to update mysql on a linux server.
can you help me?

MrPHD 05-10-2007 12:43 PM

Hi, you can check HERE Regards

badboyz 05-10-2007 04:13 PM

Hello

i could not make it work.

can u help me in other way?

thanks


All times are GMT. The time now is 01:49 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.01580 seconds
  • Memory Usage 1,719KB
  • 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
  • (7)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