Solved

myphpadmin error

Posted on 2008-10-05
5
1,033 Views
Last Modified: 2013-12-13
I have been trying to import an database from one hosting company to another. I have created the data via control panel and i assigned full access to the main user account.

When I import the database i get the following error:

Error
SQL query:

--
-- Database: `U1175941`
--
CREATE DATABASE `U1175941` DEFAULT CHARACTER SET latin1 COLLATE latin1_swedish_ci;
MySQL said:  
#1044 - Access denied for user 'kitchen_admin'@'%' to database 'U1175941'

Im no DBA but Im assuming i can get around.

Any idea?
0
Comment
Question by:nexxsupport
  • 2
5 Comments
 
LVL 3

Expert Comment

by:wktang83
ID: 22647638
Do you have the privileges to create a database?

You can check your privileges by clicking on the privileges link on the phpmyadmin home page.

Unless you are logged in as root (which has ALL privileges), usually you have only limited privileges.
0
 

Author Comment

by:nexxsupport
ID: 22649650
I believe I do, i logged onto the hosting server as the main admin. Also I am to create databases, just seems when i try to import one there is this access denied error.
0
 
LVL 3

Accepted Solution

by:
wktang83 earned 500 total points
ID: 22651685
I get an error ACCESS DENIED CREATE DATABASE db_name when I try to import a database

In order to solve this issue follow these steps:

   1. Open the mysql dump with a text editor on your local pc / mac;
   2. Delete the line saying "CREATE DATABASE yourdbname". Usually this line is found in the very beginning of the file;
   3. Save the file and try to import it again.


Try this.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now