Jump to content

Recommended Posts

Posted

Hi;

I am trying to find out how to upload my mysql DB using Cpanel,

I have a dump of my DB, but i can not find out how to upload it ,

 

the only thing I see in mysql management is to create DB and add user to the DB.

I could not find anything about import or upload of DB in documentaion either.

 

anyone care to explain?

 

thanks a lot

Posted

You can also go to Backups in CPanel, and restore a database from there as well. Only do this though if your back was created through CPanel, not sure how it would react any other way... :D

Posted

Thanks for reply;

 

I still can not find how to upload it,

on phpmyadmin, I see the dabase that I have created, which is empty of course,

now when I click on it, another page opens up, now I will see an option to make table/s for the opend DB,

 

 

I don't see how to upload my tables of DB which is in SQL format that I got it by dumping my DB.

 

is it so simple that I miss it?

 

is anyone can walk my trough it

I am very greatful.

 

Thanks

Posted

For anyone else wishing to restore a database through

phpMyAdmin in cpanel,

Select the database on the left,

Click on SQL,

in the window at the bottom

Or Location of the textfile :

browse to the backup on your computer,

select go, and give it time.

  • 6 months later...
Posted

I keep getting an error message when I try to upload a database.

 

>Database myusername_mydatabasename running on localhost 
Error

SQL-query :  

CREATE DATABASE `myusername_` 

MySQL said: 

Can't create database myusername_'. Database exists
Back

 

(where mydomain is my user name and mydatabasename is my new database name.)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...