vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   General Hosting/Server Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=197)
-   -   Moving my database with PhpMyAdmin (https://vborg.vbsupport.ru/showthread.php?t=143803)

it_pimpin 04-01-2007 08:41 PM

Moving my database with PhpMyAdmin
 
I want to move my database to a new server and my old host doesn't have Telnet/SSH and I am trying to use PhpMyAdmin to move the database. i have tried the PhpMYAdmin Import/Export tool on both servers and on my destination server it gives me this error message.
Quote:

Error
SQL query:

-- phpMyAdmin SQL Dump
-- version 2.6.4-pl4
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Mar 31, 2007 at 09:35 AM
-- Server version: 4.1.20
-- PHP Version: 4.3.6
--
-- Database: `360nigeria_cpg`
--
CREATE DATABASE `360nigeria_cpg` DEFAULT CHARACTER SET latin1 COLLATE latin1_swedish_ci;



MySQL said:

#1044 - Access denied for user 'nigeria1'@'localhost' to database '360nigeria_cpg'

Is it possible to use PhpMyAdmin to transfer the database or what am I doing wrong ?

Marco van Herwaarden 04-02-2007 09:27 AM

The only reliable method of backing up and restoring a database is with shell access via telnet or ssh. This is because backing up with a PHP script like that in the Admin CP or phpMyAdmin can result in PHP timeouts errors and an incomplete backup file. Please see the instructions here:


Backup:
http://www.vbulletin.com/docs/html/m...nce_ssh_backup


Restore:
http://www.vbulletin.com/docs/html/m...ce_ssh_restore


P.S. If you don't have shell access, some people have also reported success with these scripts:


MySQLDumper:
http://www.mysqldumper.de/en/index.php


MySQLHotxcopy:
http://www.vbulletin.com/forum/showt...t=mysqlhotcopy


Bigdump:
http://www.ozerov.de/bigdump.php

Brad 04-02-2007 09:34 AM

Big dump has yet to fail on me. Just make sure you configure it correctly and give it enough time to do it's thing.

Obviously a stable connection to the internet is required. :)

it_pimpin 04-03-2007 09:38 AM

;)
Quote:

Originally Posted by Brad (Post 1218208)
Big dump has yet to fail on me. Just make sure you configure it correctly and give it enough time to do it's thing.

Obviously a stable connection to the internet is required. :)

this is what I wanted. I have already stated that my host doesn't allow SSH/Telnet access. Therefore I wanted an alternative and a recommendation. You Brad, have given me that. Thank you, I would try my best to learn to use Big Dump because I have no choice but to transfer my database.
Thank you

bashy 04-03-2007 06:52 PM

If your timing out using phpmyadmin you can always split the db into sections, importing smaller sections is less likely to timeout depending what them sections size is and your allowed upload size is, i used to do it this way all the time till i started using ssh :)

Dismounted 04-05-2007 09:18 AM

I'm guessing you're using cPanel? You must create the database first in cPanel and remove the line:
Code:

CREATE DATABASE `360nigeria_cpg` DEFAULT CHARACTER SET latin1 COLLATE latin1_swedish_ci;
Save, and try again.


All times are GMT. The time now is 02:39 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.01055 seconds
  • Memory Usage 1,725KB
  • 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_code_printable
  • (2)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