vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Backup DB is a dfferent version to new host :( (https://vborg.vbsupport.ru/showthread.php?t=111274)

bashy 03-24-2006 07:45 PM

Backup DB is a dfferent version to new host :(
 
Hi peeps

I am moving to a new host but i cannot import my DB as its a different
version. Whats the best way to convert the database to another version?

Is there a program that will do this?

My database is My-SQL is 4.1.12
New Host My-SQL is 4.0.18

any advice?

Desihunk 03-24-2006 10:25 PM

Mail your host and ask them to upgrade :-)

bashy 03-25-2006 08:20 PM

Not applicable im afraid!

I need a moderator or admin to help me out here if poss?

I know nothing about SSH access an i have been told if
i use this method then i will be able to backup the database
to be compatible with MySQL 4.0.18. by entering the
following command:

mysqldump --compatible=mysql40 DATABASE_NAME > database.sql.

Replace "DATABASE_NAME" with the name of the database.

Is there a mod or admin that can help me with this please, I have got SSH
activated on my existing account, I need a mod or admin as i dont think i can
really trust anyone ese to have this sort of access to my hosts servers?

Please can someone help as i really need this resolving asap as i need to get
the other server up and running?

Yours hopefully

DrewM 03-25-2006 08:52 PM

just contact your host I'm positive they'll be fine woth it.

bashy 03-25-2006 08:53 PM

Hi m8, already tried that, they say they cannot do it as they dont have the newer version or sommat....

I think there fobbing me off to be honest!

Code Monkey 03-25-2006 11:13 PM

Why would it not work? Database dumps haven't really changed between those two versions.

bashy 03-26-2006 07:36 AM

I really dont know, I have just tried myself using SSH and got this error:
Error 1045: Access denied for user `bashys-place.com`@localhost`
(using password: NO) when trying to connect

I got this error when running the command: mysqldump --compatible=mysql40 web18_4rum > database.sql.

Code Monkey 03-26-2006 07:54 AM

Well, that is a user error. You need to set up that user and password first.

bashy 03-26-2006 07:59 AM

Hi Jump

There aint anywhere to actually setup a user.
All i had to do was activate SSH then wait an hour and hey presto
i have access now....

To me it looks like im locked out of using that command?

Code Monkey 03-26-2006 02:41 PM

Have your host, or anyone with GRANT Privs, set up a user.

Or better yet, don't use that host. It seems to be a step down in service. Don't they have a control panel?


All times are GMT. The time now is 06:43 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.01166 seconds
  • Memory Usage 1,723KB
  • 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)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