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 02-11-2009, 08:06 AM
kronnos kronnos is offline
 
Join Date: Apr 2006
Posts: 241
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Database Upload Error

Hi,

I wanted to upload a database from my old hosting provider but received the error below.

Error

SQL query:

--
-- Database: `plazma_forum`
--
-- --------------------------------------------------------
--
-- Table structure for table `access`
--
DROP TABLE IF EXISTS `access` ;

MySQL said: Documentation
#1046 - No database selected

The entire database is about 23megabytes.

Also, is there a way to copy the database directly from one server to another, without having to download to computer and upload it?

BTW, i tried to upload via phpmyadmin, i did export and then import where needed.

Thank You
Reply With Quote
  #2  
Old 02-11-2009, 08:15 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Make sure you have created a database on the account and clicked into that database in phpMyAdmin before clicking "Import".
Reply With Quote
  #3  
Old 02-11-2009, 08:51 AM
kronnos kronnos is offline
 
Join Date: Apr 2006
Posts: 241
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oooh! So I should have created a database called "plazma_forum" and a user for that database right?

Also, can I create a different name for this database since it was from old server and name is from old subdomain. Or maybe I can change the name somehow after I upload the database with its original name?

Thank You
Reply With Quote
  #4  
Old 02-11-2009, 08:59 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You just need to create a database for the data to go into, the name does not matter.
Reply With Quote
  #5  
Old 02-11-2009, 03:06 PM
kronnos kronnos is offline
 
Join Date: Apr 2006
Posts: 241
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank, everything went perfect untill I got the next error, can you please help...

Error

SQL query:

INSERT INTO `bl_customavatar` (`userid`, `filedata`, `dateline`, `filename`, `visible`, `filesize`, `width`, `height`, `importcustomavatarid`) VALUES (412, 0x47494638396164006400f7fc00060301060a140d11090b11 18150a04140d1218120a1917151218 261d211a1a232f240c03250d1327140a251a15340c02320e12 371709361a142e1b252f231a292724 272a352c32282b3238362a25382a34383329383735101e401b 2b45361e452e37492d3d613b423839 44513950763d62744a1907461b3047210d4727184c350f4a31 1d5a2209552a185a350a58311c472b 24462737473429463935542c2554293a573528573a34641a13 6b1e29763717642c25632d35653928 643c33752b25752a33753b26743d34591d414e36465a3a6268 1c436b374d763c625e401c5045395b 613a77431a6f483767663a4d4b4b465a775a63535164786f54 4a6e5666736555706c6d3e5a80435c 804c6482725b826e7987687da278815a7984707686937994b0 7da0be7a9dc07da0c0813d1a823d27 853a548b3b64a53d6984411b884b33996319926637ab560da6 5538b56912a66c368758498d536d90 67548d756ca55b47aa5671a87057a97769c93d44c46e3ec072 3ed14f57ce5a6ec37257c87868e15e 71e77175965b83907585977ea1b15a84ad738eb87ba[...]

MySQL said: Documentation
#1153 - Got a packet bigger than 'max_allowed_packet' bytes
Reply With Quote
  #6  
Old 02-12-2009, 03:58 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That error is caused by a low "maximum packet size" setting. This is handled inside the MySQL configuration file, and can usually only be changed if you have root access into the server.
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 03:38 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05499 seconds
  • Memory Usage 2,205KB
  • 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)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (6)postbit
  • (6)postbit_onlinestatus
  • (6)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