Solved

myphpadmin error

Posted on 2008-10-05
5
1,037 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Best hashing method? 1 21
How do I correctly structure this insert statement 3 32
php non-object 7 28
Position image fpdf 4 18
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
This post contains step-by-step instructions for setting up alerting in Percona Monitoring and Management (PMM) using Grafana.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
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 …

739 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