Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Mysql 5.5, how do I grant privileges to the user "root" after installation

Posted on 2014-03-11
4
Medium Priority
?
565 Views
Last Modified: 2014-03-11
Hi
I need help I just did an install of mysql 5.5 but the "root" user has no privileges how do I grant privileges to the user "root" after installation.

Thanks
0
Comment
Question by:Trevor_C
  • 2
4 Comments
 
LVL 84

Expert Comment

by:Dave Baldwin
ID: 39920011
Never seen that.  'root' is installed with ALL privileges and must be used to grant privileges to other users.  What makes you say it has none?
0
 

Author Comment

by:Trevor_C
ID: 39920024
When I connect to the instance using mysql administrator when I select the user root all the priviledges are grey out.
0
 
LVL 35

Accepted Solution

by:
Dan Craciun earned 1000 total points
ID: 39920324
I suspect that's because root has all privileges.

HTH,
Dan
0
 
LVL 84

Assisted Solution

by:Dave Baldwin
Dave Baldwin earned 1000 total points
ID: 39921144
And because you can't change them?  At least not thru mysql administrator because that would probably crash the program.  Since it is using 'root' for it's permissions.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

In this blog post, we’ll look at how ClickHouse performs in a general analytical workload using the star schema benchmark test.
Recursive SQL is one of the most fascinating and powerful and yet dangerous feature offered in many modern databases today using a Common Table Expression (CTE) first introduced in the ANSI SQL 99 standard. The first implementations of CTE began ap…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses
Course of the Month11 days, 4 hours left to enroll

886 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