Help with GRANT

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

    #1

    Help with GRANT

    I get an error message with this:

    GRANT SELECT , INSERT , UPDATE , DELETE ON sassisc.* TO
    sassisc@localho st IDENTIFIED BY 'dodge3'

    It comes back with an error message:

    SQL-query :

    GRANT SELECT , INSERT , UPDATE , DELETE ON sassisc. * TO
    sassisc@localho stIDENTIFIEDBY 'dodge3'

    MySQL said:

    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 'BY 'dodge3'' at line 1

    For some reason, the words "localhost" , "identified " and "by" were
    stuck to each other.
    When I execute the same command minus the IDENTIFIED BY part, it works
    fine.

    What am I doing wrong or missing?
Working...