Find the answer to your Linux question:
Results 1 to 2 of 2
Is there a way to create mysql users and assign rights to databases from the command prompt? Thanks...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2003
    Posts
    56

    Creating users from Shell


    Is there a way to create mysql users and assign rights to databases from the command prompt? Thanks

  2. #2
    Linux Engineer
    Join Date
    Jan 2003
    Location
    Lebanon, pa
    Posts
    994
    mysqladmin might let you. I normally just log into mysql and use GRANT. Or you can also just use mysql to send the command to the db server so you don;t need to log in.

Posting Permissions

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