Go Back   HostGator Peer Support Forums > Public Forums > Pre-Sales Questions

Notices

Reply
 
Thread Tools
  #1  
Old 05-23-2008, 07:07 PM
CWC CWC is offline
Hatchling Croc
 
Join Date: May 2008
Posts: 9
Default MySQL user privs

I'm trying to port a MySQL database over from the original host and I'm having problems. Mainly, it seems I can't do a CREATE ALGORITHM query on account of not having SUPER privileges, and I can't find any way to give that privilege in PHPMyAdmin. Is this something I don't have access to as a HostGator client, or am I just missing something key?
Reply With Quote
  #2  
Old 05-23-2008, 07:20 PM
Serra's Avatar
Serra Serra is offline
Veteran Croc
 
Join Date: Feb 2005
Location: Orange Park, FL
Posts: 5,067
Default Re: MySQL user privs

Quote:
Originally Posted by CWC View Post
I'm trying to port a MySQL database over from the original host and I'm having problems. Mainly, it seems I can't do a CREATE ALGORITHM query on account of not having SUPER privileges, and I can't find any way to give that privilege in PHPMyAdmin. Is this something I don't have access to as a HostGator client, or am I just missing something key?
You must be missing something. You can create a new user with any privilege you want.
__________________
Six stages of Dedi Ownership

Fashionable broken link
image included
Reply With Quote
  #3  
Old 05-23-2008, 07:34 PM
CWC CWC is offline
Hatchling Croc
 
Join Date: May 2008
Posts: 9
Default Re: MySQL user privs

Really? Because when I'm in PHPMAdmin, I try the following query:

GRANT ALL PRIVILEGES ON <database>. * TO '<user>'@'localhost' IDENTIFIED BY '<pwd>'

And I get this error:

MySQL said: Documentation
#1044 - Access denied for user '<user>'@'localhost' to database '<database>'
Reply With Quote
  #4  
Old 05-23-2008, 07:36 PM
Serra's Avatar
Serra Serra is offline
Veteran Croc
 
Join Date: Feb 2005
Location: Orange Park, FL
Posts: 5,067
Default Re: MySQL user privs

Quote:
Originally Posted by CWC View Post
Really? Because when I'm in PHPMAdmin, I try the following query:

MySQL said: Documentation
#1044 - Access denied for user '<user>'@'localhost' to database '<database>'
I'm not sure that you can grant privileges in phpMyAdmin. You can in cPanel, so do it there.
__________________
Six stages of Dedi Ownership

Fashionable broken link
image included
Reply With Quote
  #5  
Old 05-23-2008, 08:00 PM
CWC CWC is offline
Hatchling Croc
 
Join Date: May 2008
Posts: 9
Default Re: MySQL user privs

The other problem queries (CREATE VIEW and CREATE ALGORITHM) also seem not to work in MyAdmin, and I don't have any other way to run them.
Reply With Quote
  #6  
Old 05-23-2008, 08:05 PM
Serra's Avatar
Serra Serra is offline
Veteran Croc
 
Join Date: Feb 2005
Location: Orange Park, FL
Posts: 5,067
Default Re: MySQL user privs

Quote:
Originally Posted by CWC View Post
The other problem queries (CREATE VIEW and CREATE ALGORITHM) also seem not to work in MyAdmin, and I don't have any other way to run them.
It is a mySQL 5 server or mySQL 4?
__________________
Six stages of Dedi Ownership

Fashionable broken link
image included
Reply With Quote
  #7  
Old 05-23-2008, 08:07 PM
CWC CWC is offline
Hatchling Croc
 
Join Date: May 2008
Posts: 9
Default Re: MySQL user privs

5.0.45-community
Reply With Quote
  #8  
Old 05-23-2008, 08:09 PM
CWC CWC is offline
Hatchling Croc
 
Join Date: May 2008
Posts: 9
Default Re: MySQL user privs

Hm. Looks like putting it in a script and running it there actually allowed me to create the view; so it was just PHPMyAdmin screwing up. Thanks!
Reply With Quote
Reply

Bookmarks

Thread Tools

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 Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
User to User support forums VideoFlames Suggestions 19 08-27-2005 02:04 PM
Can I use MySQL-Front to access my MySQL DB? rprins Pre-Sales Questions 4 03-16-2004 06:23 PM

All times are GMT -6. The time now is 11:57 AM.

 
Forum SEO by Zoints