Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Nov 2006
    Posts
    6

    Unhappy How to use MySQL database backup downloaded from cpanel on local pc?

    Hi,

    I downloaded MYSQL database from CPANEL "backup" icon. And, now I want to run the same database on my LOCAL PC running WINDOWS and XAMPP. SO I tried to import this database in my local machine by using PHPMYADMIN tool. But it gives me error that NO DATABASE CREATED. Why is it so? this happens in every database I download from my server..

    Actually, when I try to process my database on server itself, server gets jammed. So I want to process my database on my local machine so that server works fine. So I downloaded the database. Now how to use that database on my local machine?? FYI: The database is of PHPMYADS now, OPENADS.

  2. #2
    Member
    Join Date
    Aug 2004
    Posts
    472

    Default

    I would recommend to install Linus OS on your local PC and install mysql server on it. You can easily manage the database locally then.

  3. #3
    Member _xandih's Avatar
    Join Date
    Dec 2005
    Location
    Gaspar - SC - Brazil
    Posts
    96

    Default

    Why don't you export mysql database with the mysqldump command?

    This issue occurs because in your SQL file, you don't have the "CREATE DATABASE" command.
    Make sure you're exporting with Full Create.. And if you don't know how to do this with mysqldump, above is an example:

    Code:
    mysqldump your_database --single-transaction > /pathto/your_dabasedump_file.sql
    Where --single-transaction make sure that you will dump all of InnoDB data too. ;D
    Alexandre Silva Hostert
    Server Management for Brazilians | Gerenciamento de Servidores para Brasileiros
    http://widecombrasil.com.br

  4. #4
    Member
    Join Date
    Mar 2006
    Posts
    1,215

    Default

    Quote Originally Posted by david510 View Post
    I would recommend to install Linus OS on your local PC and install mysql server on it. You can easily manage the database locally then.


    xampp is a full mysql / apache / php suite which is excellent for local dev if you arent familiar with it. No need for linux locally and no benefit over windows / xampp for dev.


    Check out navicat. Its an excellent tool for managing remote and local databases. Drag and drop/dump or anything you like. Of course there are many free management tools but navicat is the best of the best IMHO.

Similar Threads & Tags
Similar threads

  1. ziro size downloaded mysql backup file
    By hajagha in forum Data Protection
    Replies: 5
    Last Post: 09-16-2009, 09:19 AM
  2. Replies: 2
    Last Post: 06-22-2009, 08:30 AM
  3. forbidden for backup to be downloaded....
    By big_bull in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 04-20-2009, 09:45 AM
  4. MySQL issue when Moving a downloaded DataBase from Plesk 7.5 to Cpanel
    By Forgotten_1 in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 05-23-2005, 08:03 PM
  5. Cpanel backup of MySQL database fails
    By hostseeker in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 10-22-2004, 02:18 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube