Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2004
    Location
    inida
    Posts
    62

    Unanswered: localhost.localdomain??

    difference between the two command, any idea?


    GRANT ALL PRIVILEGES ON *.* TO 'oxigen'@'localhost.localdomain' IDENTIFIED BY 'oxigen' WITH GRANT OPTION;

    GRANT ALL PRIVILEGES ON *.* TO 'oxigen'@'localhost'
    IDENTIFIED BY 'oxigen' WITH GRANT OPTION;

  2. #2
    Join Date
    Nov 2004
    Location
    out on a limb
    Posts
    13,692
    Provided Answers: 59
    in effect nothing
    localdomain would be to identify a windows domain (not absolutlely certain), whereas local host is always the computer the MySQL server is running on. (assuming you have defined localhost in your hosts file)

    you can also specify the host using an IP address or IP range eg '192.168.*'

Posting Permissions

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