Solved

myphpadmin error

Posted on 2008-10-05
5
1,034 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

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Is this error or Notice in php error log? 6 32
Form Processing in PHP 11 32
how to use a function in heredoc 5 22
How to convert my query to the proper format? 5 18
Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

920 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

15 Experts available now in Live!

Get 1:1 Help Now