Newbe question

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Mike P

    #1

    Newbe question


    I ran "GRANT ALL PRIVILEGES ON `mysql`.* TO 'mpeloso'@'%' WITH GRANT OPTION"

    I would suspect that mpeloso would have privileges to Select, Insert, ect.
    EVERYWHERE

    But when I look in the user table there is an "N" in all the priveleges
    columns
    And
    When I look at the DB table there are "Y"'s

    Why does the user table have "N"'s?

    Thanks
    Mike





  • Jonathan

    #2
    Re: Newbe question

    Mike P wrote:[color=blue]
    > I ran "GRANT ALL PRIVILEGES ON `mysql`.* TO 'mpeloso'@'%' WITH GRANT OPTION"
    >
    > I would suspect that mpeloso would have privileges to Select, Insert, ect.
    > EVERYWHERE
    >
    > But when I look in the user table there is an "N" in all the priveleges
    > columns
    > And
    > When I look at the DB table there are "Y"'s
    >
    > Why does the user table have "N"'s?
    >
    > Thanks
    > Mike
    >[/color]
    Did you execute the "flush privileges" command to update the changes you
    wanted to make?

    Comment

    • Aggro

      #3
      Re: Newbe question

      Jonathan wrote:
      [color=blue]
      > Did you execute the "flush privileges" command to update the changes you
      > wanted to make?[/color]

      That is not needed when using GRANT.

      "Modificati ons to the grant tables that you perform using GRANT or
      REVOKE are noticed by the server immediately. If you modify the grant
      tables manually (using INSERT, UPDATE, and so on), you should execute a
      FLUSH PRIVILEGES statement or run mysqladmin flush-privileges to tell
      the server to reload the grant tables."

      Source:
      http://dev.mysql.com/doc/mysql/en/grant.html

      Comment

      Working...