vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Problem: backing up sql (https://vborg.vbsupport.ru/showthread.php?t=169057)

eXaLs 01-29-2008 12:29 PM

Problem: backing up sql
 
my sql is 252mb :(
i tried to backing up with ssh but everytime give me this problem

Session is Closed
Disconnected from server

what can i do? how do i backing up it

thanks

nexialys 01-29-2008 12:36 PM

session closed during process ?!

you can ask your host about this behavior, and they may even help

timnp 01-29-2008 01:21 PM

Yeah ask your host. I think in MySQL config there is an option for setting the maximum execution time of a query, perhaps this value is set too low.

Marco van Herwaarden 01-29-2008 02:06 PM

It is not his MySQL server that is closing the connection. ;) It is the server that closes a SSH connection if no input is received after some time. It could help if you just ype a character once every minute to keep the connection alive.

eXaLs 01-29-2008 02:19 PM

Quote:

Originally Posted by Marco van Herwaarden (Post 1431692)
It could help if you just ype a character once every minute to keep the connection alive.

how can i do this?

timnp 01-29-2008 02:21 PM

Or screen it.

login to ssh, type "screen" , run your commands

If you get disconnected then login and reattach to the screen "screen -r".

You can have multiple screens open at any one time, if so then you need to specify the number when reattaching "screen -r ###" , you can get a list of the numbers with "screen -ls", the man pages are well worth a read on this one its very handy.

Not always installed by default but availiable for pretty much all distros, "yum install screen" or whatever.


All times are GMT. The time now is 06:41 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.00964 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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