Help with database

Status
Not open for further replies.

manan35

New Member
Messages
8
Reaction score
0
Points
0
Please help me import database named database.sql which is in folder /home/ntarokz/public_html to my current database.Please help
 

MaestroFX1

Community Advocate
Community Support
Messages
1,577
Reaction score
60
Points
0
Use :
cpanel >> MySQL Database Wizard to create mysql database and user
cpanel >> phpmyadmin to import mysql database.
 

calistoy

Free Support Volunteer
Community Support
Messages
5,602
Reaction score
87
Points
48
What error is it? Please give the exact error message.
 

manan35

New Member
Messages
8
Reaction score
0
Points
0
Error
SQL query:

-- phpMyAdmin SQL Dump
-- version 2.6.4-pl2
-- http://www.phpmyadmin.net
--
-- Host: mysql14.freehostia.com
-- Generation Time: Apr 23, 2011 at 02:00 AM
-- Server version: 5.1.50
-- PHP Version: 5.2.6-1+lenny9
--
-- Database: `manmus9_123`
--
-- --------------------------------------------------------
--
-- Table structure for table `wp_commentmeta`
--
CREATE TABLE `wp_commentmeta` (

`meta_id` BIGINT( 20 ) UNSIGNED NOT NULL AUTO_INCREMENT ,
`comment_id` BIGINT( 20 ) UNSIGNED NOT NULL DEFAULT '0',
`meta_key` VARCHAR( 255 ) DEFAULT NULL ,
`meta_value` LONGTEXT,
PRIMARY KEY ( `meta_id` ) ,
KEY `comment_id` ( `comment_id` ) ,
KEY `meta_key` ( `meta_key` )
) ENGINE = MYISAM DEFAULT CHARSET = utf8 AUTO_INCREMENT =1;

MySQL said:

#1050 - Table 'wp_commentmeta' already exists
 

stpvoice

Community Support Rep
Community Support
Messages
5,987
Reaction score
212
Points
63
What is the process you are going through? The host on x10 is localhost.
 

MaestroFX1

Community Advocate
Community Support
Messages
1,577
Reaction score
60
Points
0
Hello again!

Use cpanel >> phpmyadmin.
Then, select your database and delete the table named "wp_commentmeta" or just check drop table option while importing.

Or if you want me to do it for you, feel free to PM me.
(Before 30th of this month only)
 

gomarc

Member
Messages
516
Reaction score
18
Points
18
Hi manan35,

From the SQL posted, it seems you are moving a WordPress from some previous hosting to x10hosting.

You may have installed a brand new WP here at x10 and you are now facing some trouble importing your database.

If this is your case, and as MaestroFX1 points out, you may have to DROP the tables of your new WordPress (table names starting with wp_ ) so they can be replaced by your backup. See this tutorial: Restore your database

If you haven't done it yet, check the WP official documentation: Moving WordPress to a New Server It's full for good tips and instructions.
 

manan35

New Member
Messages
8
Reaction score
0
Points
0
I have imported database but my blog www.imfb.in not is running .I also cannot login into dashboard it gives me error.
Not Found

The requested URL /wordpress/wp-login.php was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

---------- Post added at 08:59 AM ---------- Previous post was at 12:20 AM ----------

someone help plz
 
Last edited:

stpvoice

Community Support Rep
Community Support
Messages
5,987
Reaction score
212
Points
63
Hello,

Your admin area seemed to load the login page with no issues for me. Please clear your browser cache and try again using this link: http://www.imfb.in/wp-admin
 

stpvoice

Community Support Rep
Community Support
Messages
5,987
Reaction score
212
Points
63
Hello,

It looks as though some of your wordpress files are missing. I'd suggest reinstalling it.
 

manan35

New Member
Messages
8
Reaction score
0
Points
0
I installed a new copy of WordPress but when I use my old database with it the website doesn't work
 

stpvoice

Community Support Rep
Community Support
Messages
5,987
Reaction score
212
Points
63
Hello,

I meant a fresh install. If it were me I'd wipe it and start again.
 

manan35

New Member
Messages
8
Reaction score
0
Points
0
dude help me with this. i again installed a fresh copy of wordpress.it worked fine but when i imported my old database everything stopped working site doesnt open and dashboard gives 404 error page that upgrade.php is missing. And when i write adress ntarokz.co.cc/wp-admin it changes to ntarokz.co.cc/worpress/wp-admin ?
 
Status
Not open for further replies.
Top