Jump to content

MAJOR PROB!!! NEED HELP ASAP


whitewiddow

Recommended Posts

hi, i backed up the database for my forum the other day by exporting it and when i try and import it now i get the message:

[color=red]#1044 - Access denied for user 'user'@'localhost' to database 'user_phpb1'[/color]

can you help ??

the full message reads:

[color=red] -- phpMyAdmin SQL Dump
-- version 2.8.0.2
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Dec 10, 2006 at 06:18 AM
-- Server version: 4.1.21
-- PHP Version: 4.4.2
--
-- Database: `user_phpb1`
--
CREATE DATABASE `user_phpb1` DEFAULT CHARACTER SET latin1 COLLATE latin1_swedish_ci;

MySQL said: Documentation
#1044 - Access denied for user 'user'@'localhost' to database 'user_phpb1[/color]
Link to comment
Share on other sites

It seems like you've either got the wrong password or the mysql account you're trying to import with doesn't have the correct permissions.

Is the database user_phpb1 already made? If so, and you know for sure your backup works, empty it and comment out the create database line in your backup. Otherwise, if there is no user_phpb1 database created, create it and import the dump again (again with the line create database commented out).

Hope that helps and don't go emptying or deleting tables unless you're 100% sure.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

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

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.