News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Database Import Error|Help Urgent|

Started by indra00, February 13, 2009, 12:37:18 AM

Previous topic - Next topic

indra00

Quote#1044 - Access denied for user 'blackboo'@'localhost' to database '146265'

This is the error i am getting when i try to import the database. I hv set disable foreign key checks when i exported it from another host.

blackboo user has been previlegdged to all permissions to the databse also.

Plz tell urgently what should i do.


Oldiesmann

Do you have a database called 146265? If so, make sure it's not trying to drop the database and recreate it.
Michael Eshom
Christian Metal Fans

LiroyvH

If you are using cPanel (and maybe with some other control panels, but your comment about all priviliges made me think wether it was added that way), note that you should add your cPanel username in front of the username and database.
Like if your cPanel username is "indra" then your database name is "indra_146265" and your username "indra_blackboo" :)
((U + C + I)x(10 − S)) / 20xAx1 / (1 − sin(F / 10))
President/CEO of Simple Machines - Server Manager
Please do not PM for support - anything else is usually OK.

indra00

prob solved... for any future user who faces same problem here is wat u hv to do..

Delete this line from ur sql file by editing...

CREATE DATABASE `db name` DEFAULT CHARACTER SET latin1 COLLATE latin1_swedish_ci;
USE `db name`;

:D :D :D


Advertisement: