Jump to content

Database Eror 21 about information schema


Recommended Posts

I am trying to move my web site to any other web hosting firm. I coppy paste all folders to my new hosting account.

 

Somehow at the final step when I am trying to import my database to new server via BigDump (Staggered MySQL Dump Importer v0.35b) I am reciving the message follow. I can not solvee it.

 

 

Error at the line 21: CREATE DATABASE `information_schema` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;

Query: --

--

CREATE DATABASE `information_schema` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci

MySQL: Access denied for user 'modancom_2'@'%' to database 'information_schema'

 

Do you have any idea?

 

Thanks

Link to comment
Share on other sites

  • 4 weeks later...

Just a double check:

What value do you have for:

$db_server = ‘localhost’; <---- what do you have here??

 

And check (don't have to share, but check if correct!)

$db_name = ‘yourDBname’;

$db_username = ‘yourDBUsername’;

$db_password = ‘yourDBpass’

 

And make sure cAPiTAls etc are consistent .

 

 

Did you work with bigdump before? If so, did you got it to work fully at that time?

 

Looks like somewhere a configuaration setting, as import didn't even start yet...

  • Like 1
Link to comment
Share on other sites

I have never tried to transfer any database before. I tried your suggest but, Unfortunatelly, Again I faced same error. The writer of bigdump sent me a message below:

 

Hello,

 

if your dump file contains multiple databases you can’t use Bigdump to restore it.

 

If it contains only one database you can configure Bigdump to ignore the CREATE DATABASE query by enabling this line in Bigdump.php. Just remove the heading double slash.

 

// $comment[]='CREATE DATABASE'; // Uncomment this line if your dump contains create database queries in order to ignore them

 

Alexey

 

And my database has got multiple databases, one is xxx, and other information_Schema

Edited by pertagos (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...