mysql problems

Sharky Forums


Results 1 to 3 of 3

Thread: mysql problems

  1. #1
    Goldfish
    Join Date
    Nov 2003
    Posts
    74

    mysql problems

    hi guys hope you can help me with this one. I am trying to figure out how to use the grant priveleges. This is what i did.

    grant insert on test.* to sally;


    then i logged in using this

    mysql -D test -u sally

    However, I am still able to do select statements when i only granted insert privelege. Any suggestions?

    thnx in advance

  2. #2
    Catfish
    Join Date
    Jan 2004
    Posts
    174
    If you were asking some questions on SQL Server 2000 permissions and roles I could probably help you. I'm not familiar with MySql enough to help other than to direct you to dbforums.com

  3. #3
    Reef Shark Nephalim's Avatar
    Join Date
    Nov 2000
    Location
    Michigan
    Posts
    463
    certain priveleges may automatically be granted to regular users like select, in which case you may need to deny that user the use of select as well. Or there may be a hierarchical level involved with select being needed for insert. I never really had the need to deny just select from a user. See the mysql documentation at mysql.com and find the grant/deny section.
    ~ And that is my humble opinion.

    When I was a boy I was told that anybody could become President. Now I'm beginning to believe it. - Clarence Darrow

    The greatness of a woman’s power is measured in the size and amount of the balls she clutches in hand. -Nephalim

    "Tink"
    1700+ XP on A7N8X, 768MB PC2700 DDRRAM, Samsung 19" 900IFT, Radeon 64MB DDR VIVO, SB Live! MP3+, 42.9GB IBM HDD, Plexwriter 8/4/32, 3C905CTXM NIC

    "Hermes"
    Dell Inspiron 8200, 1.7 GHz P4, 512MB DDRRAM, 30GB HDD, DVDROM, Geforce4 Go 64MB

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •