Community Forums

Important Notice:

Two sections of this forum are available only to registered customers. In order to receive access to the Customer Forums and ResellerCentral Forums, you must first register on these forums or login to your existing forum account. If you are an existing HostNine customer, be sure to register using the email address on file for your billing profile.

Go Back   HostNine Community Forums > H9 Customer Forums > Reseller Hosting

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 07-20-2007, 08:38 AM
jleemc44's Avatar
jleemc44 jleemc44 is offline
Junior Guru Wannabe
 
Join Date: Jul 2007
Location: Florida
Posts: 78
Send a message via AIM to jleemc44 Send a message via Yahoo to jleemc44
Default phpMyAdmin

Forgive the stupidity, this could be simple so I'm going to try a post before opening a ticket.

I'm trying to inport a table into an sql database with phpMyAdmin.

I'm logging in using the domains login, not the whm master account.

When I load phpMyAdmin I notice a message in red saying No Privileges.

I will not let me inport anything and gives me the same error.

Also, when I click logout it tells me incorrect loging or password, even though I was just logged in.

What gives?
Reply With Quote
  #2  
Old 07-20-2007, 08:47 AM
colt45 colt45 is offline
Junior Guru
 
Join Date: May 2007
Location: Haleiwa, Hawaii
Posts: 213
Default

You need to first create your MySQL database and database user using the MySQL Databases utility that's just before the PHPMyAdmin icon.

Create a database, create a database user, then assign the user to the database with "All privileges"

Once the database is created you can use PHPMyAdmin to import your data.
Reply With Quote
  #3  
Old 07-21-2007, 07:30 AM
jleemc44's Avatar
jleemc44 jleemc44 is offline
Junior Guru Wannabe
 
Join Date: Jul 2007
Location: Florida
Posts: 78
Send a message via AIM to jleemc44 Send a message via Yahoo to jleemc44
Default

Thanks colt45 for the tip. However I did at least think to create a database before trying to import data into it. . Although I have done stupider things before. The problems seems to be phpMyAdmin doesn't believe I have the rights to create tables even though I am logged in correctly and the database does have a user.

Maybe I should open a ticket.
Reply With Quote
  #4  
Old 07-21-2007, 08:22 AM
H9Travis's Avatar
H9Travis H9Travis is offline
ResellerCentral Developer
 
Join Date: Apr 2007
Posts: 159
Default

Hi,

If you have a .sql export of your database it is often easier for us to import it from root shell. If you would like it imported by us just open a ticket to support with your primary domain, the domain the database will go to, the location of your .sql export, and the database you want it imported to.

Note that the database must be created through the MySQL manager in cPanel, and can contain no duplicate tables as defined by your .sql export.
__________________
Travis Brown
HostNine Transfers Admin
HostNine Reseller Central Development Team
Reply With Quote
  #5  
Old 07-21-2007, 11:47 AM
colt45 colt45 is offline
Junior Guru
 
Join Date: May 2007
Location: Haleiwa, Hawaii
Posts: 213
Default

I'm wondering why this isn't working for the OP. I've moved all of my Joomla sites from my old host to H9 by importing SQL exports of the original MySQL databases.

I do see the "No Privileges" warning, but it only disallows database creation via PHPMyAdmin. All other functions work OK.
Reply With Quote
  #6  
Old 07-21-2007, 02:03 PM
kobra kobra is offline
Web Hosting Master
 
Join Date: Oct 2006
Posts: 595
Default

Colt45
Quote:
Originally Posted by jleemc44
However I did at least think to create a database before trying to import data into it.
But he did not verify that he created a user and assign this user to this DB as you had tutored in your first post and is required
Reply With Quote
  #7  
Old 07-24-2007, 07:47 AM
jleemc44's Avatar
jleemc44 jleemc44 is offline
Junior Guru Wannabe
 
Join Date: Jul 2007
Location: Florida
Posts: 78
Send a message via AIM to jleemc44 Send a message via Yahoo to jleemc44
Default

Quote:
Originally Posted by kobra View Post
Colt45

But he did not verify that he created a user and assign this user to this DB as you had tutored in your first post and is required
Yes, I did assign a user to the DB and gave it full privileges. Here are screen shots of the entire process and what goes wrong. I know they are not all in the same browser. This is because I tried it in both IE and FF.

Please Observe:

Reply With Quote
  #8  
Old 07-24-2007, 09:43 AM
colt45 colt45 is offline
Junior Guru
 
Join Date: May 2007
Location: Haleiwa, Hawaii
Posts: 213
Default

Yes, the error is valid.

Your SQL query is attempting to "create database mysql519yadayada"

Edit your query to say "use mysql519yadayada" instead, where mysql519yadayada is the name of the database you created using the MySQL account manager.
Reply With Quote
  #9  
Old 07-24-2007, 08:40 PM
kobra kobra is offline
Web Hosting Master
 
Join Date: Oct 2006
Posts: 595
Default

Thanks for the screen shots and ditto colt45 -

You can not "Create a database when using this phpmyadmin through cPanel.
You must use cPanel to create the DB's.

The exit message is standard - just ignore and close window
Reply With Quote
  #10  
Old 07-26-2007, 06:43 AM
jleemc44's Avatar
jleemc44 jleemc44 is offline
Junior Guru Wannabe
 
Join Date: Jul 2007
Location: Florida
Posts: 78
Send a message via AIM to jleemc44 Send a message via Yahoo to jleemc44
Default Id10t

OK, it's apparent the problem is lack of knowledge on the subject.

I want to move a mambo site from my old host to this one. I haven't a clue
how to accomplish this but I assumed the first step was to move the MySQL database over.

So, I exported the db from the old host and tried to import to the new one. Thats when I got the above messages.

So I did what was suggested and changed the query to USE vs CREATE.

Now the process returns with:

#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'DATABASE `mysql05199f841b67d0b58f313b614ac` DEFAULT CHARACTER SET latin1 COLLATE' at line 1

If you wouldn't mind, please point me in the right direction from here. The only way I ever learn anything is to do it myself. I' have checked the docs and can't pinpoint the issue.

Thanks for all the help.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
phpMyAdmin question darumaki Web Hosting 1 06-28-2008 11:47 PM
Few issues: phpmyadmin and disk space low hostmaxpro Reseller Hosting 2 04-07-2008 03:13 AM


All times are GMT -5. The time now is 05:34 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.

Host Nine

Our mission began in 2006. Thousands of awesome clients later, we are now one of the most popular hosters in the world.
Most of this is because of our fantastic support. Join us, you'll be glad you did - that's a given.