Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 03-24-2004, 09:01 PM
shoppingtelly shoppingtelly is offline
 
Join Date: Apr 2002
Location: Blackpool
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Unable to export

I have had to change hosts as I keep going over the 40g bandwidth, I am trying to move the database but am unable, I thought at first it was too big, but I started off by removing all images, smilies, avatars, it made no difference to the size in phpmyadmin.

So I pruned to posts back so I now only have threads from the past 365 days, went back to phpmyadmin and it is still 58.3MB with posts not going down at all standing at 33.6mb, each time I try to export I get the error message below, PLEASE can anyone help.

Thank u

Warning: MySQL: Unable to save result set in /homepages/33/d39084293/htdocs/shopping/phpmyadmin/libraries/mysql_wrappers.lib.php on line 120

Warning: Cannot add header information - headers already sent by (output started at /homepages/33/d39084293/htdocs/shopping/phpmyadmin/libraries/mysql_wrappers.lib.php:120) in /homepages/33/d39084293/htdocs/shopping/phpmyadmin/libraries/ob.lib.php on line 65

Warning: Cannot add header information - headers already sent by (output started at /homepages/33/d39084293/htdocs/shopping/phpmyadmin/libraries/mysql_wrappers.lib.php:120) in /homepages/33/d39084293/htdocs/shopping/phpmyadmin/libraries/header_http.inc.php on line 14

Warning: Cannot add header information - headers already sent by (output started at /homepages/33/d39084293/htdocs/shopping/phpmyadmin/libraries/mysql_wrappers.lib.php:120) in /homepages/33/d39084293/htdocs/shopping/phpmyadmin/libraries/header_http.inc.php on line 15

Warning: Cannot add header information - headers already sent by (output started at /homepages/33/d39084293/htdocs/shopping/phpmyadmin/libraries/mysql_wrappers.lib.php:120) in /homepages/33/d39084293/htdocs/shopping/phpmyadmin/libraries/header_http.inc.php on line 16

Warning: Cannot add header information - headers already sent by (output started at /homepages/33/d39084293/htdocs/shopping/phpmyadmin/libraries/mysql_wrappers.lib.php:120) in /homepages/33/d39084293/htdocs/shopping/phpmyadmin/libraries/header_http.inc.php on line 17

Warning: Cannot add header information - headers already sent by (output started at /homepages/33/d39084293/htdocs/shopping/phpmyadmin/libraries/mysql_wrappers.lib.php:120) in /homepages/33/d39084293/htdocs/shopping/phpmyadmin/libraries/header_http.inc.php on line 20

Database db39550518 - Table post running on db62.oneandone.co.uk:3306
Error

SQL-query :

SELECT *
FROM `db39550518`.`post`

MySQL said:

MySQL client run out of memory

Back
Reply With Quote
  #2  
Old 03-24-2004, 09:18 PM
NTLDR's Avatar
NTLDR NTLDR is offline
Coder
 
Join Date: Apr 2002
Location: Bristol, UK
Posts: 3,644
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do you have SSH access to the server? Its much easier and faster to do a reliable backup via the command line.
Reply With Quote
  #3  
Old 03-24-2004, 09:27 PM
shoppingtelly shoppingtelly is offline
 
Join Date: Apr 2002
Location: Blackpool
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes was all going well via SSH till asked for password, phoned 1&1 Internet and they said, we don't support it used phpmyadmin but would not help any further. No idea why 1&1 offer SSH when they will not support, supose that another issue and will be away away from them as soon as I can move the database.

Reply With Quote
  #4  
Old 03-24-2004, 09:55 PM
NTLDR's Avatar
NTLDR NTLDR is offline
Coder
 
Join Date: Apr 2002
Location: Bristol, UK
Posts: 3,644
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sound odd, give this a shot in an SSH window:

Code:
mysqldump --opt -uUSERNAME -p DB_NAME > backup.sql
Replace USERNAME (note the lack of space after the -u) with the username you have entered in your vB config.php and do the same for DB_NAME with your database name, when it asks for a password enter the one thats in config.php.

Is the servername in config.php localhost? If not thats probably why it doesn't work.
Reply With Quote
  #5  
Old 03-24-2004, 10:01 PM
shoppingtelly shoppingtelly is offline
 
Join Date: Apr 2002
Location: Blackpool
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not its not set to loaclhost, does that mean I will just have to beg 1&1, they sounded as if they didn't care less this afternoon.

Who would have set the SSH password 1&1?

Thank you again
Reply With Quote
  #6  
Old 03-24-2004, 10:05 PM
NTLDR's Avatar
NTLDR NTLDR is offline
Coder
 
Join Date: Apr 2002
Location: Bristol, UK
Posts: 3,644
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If the value isn't localhost then its probably because the server with the database is different to the server with your website and SSH access.

vB has a built in backup option to generate a DB backup, try using that, but make sure you keep your database intact as sometimes the backups it produces are not 100% reliable.

In vB3 its under Import & Maintenance in the ACP menu, and in vB 2 (IIRC) its somewhere near the bottom.
Reply With Quote
  #7  
Old 03-24-2004, 10:11 PM
shoppingtelly shoppingtelly is offline
 
Join Date: Apr 2002
Location: Blackpool
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry have tried that as well and just times out.

Reply With Quote
  #8  
Old 03-24-2004, 10:22 PM
NTLDR's Avatar
NTLDR NTLDR is offline
Coder
 
Join Date: Apr 2002
Location: Bristol, UK
Posts: 3,644
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do both options for it time out? There should be an option to download it, or backup to the server. If they both time out as a last and unpractical resort you can try downloading a table at a time via vB's ACP (it lists each table and if you want to back it up or not).
Reply With Quote
  #9  
Old 03-24-2004, 10:28 PM
shoppingtelly shoppingtelly is offline
 
Join Date: Apr 2002
Location: Blackpool
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

They all time can do each individualy except the posts and they time out, time to beg top 1&1 I think.

Thank you for the advice, think this is down to 1&1
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:29 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.04211 seconds
  • Memory Usage 2,238KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete