Find the answer to your Linux question:
Results 1 to 3 of 3
I've created a root mysql user, with a different password than the system root user. I use this password to administrate mysql. And I have created a username and password ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2003
    Location
    /var/www/
    Posts
    23

    /var/lib/mysql rights


    I've created a root mysql user, with a different password than the system root user. I use this password to administrate mysql. And I have created a username and password for each database, just to be sure.

    Now, that is ok. But I just wondered, what should the rights to /var/lib/mysql be? I've it currently set to Owner: mysql, Group: mysql, and mod 755. Does it matter for the security what this is set to? I'm the only one who's got shell access.

  2. #2
    Linux User Allblack's Avatar
    Join Date
    May 2003
    Location
    Godzone
    Posts
    416
    Should be OK. I always set the owner and user to mysql. The permissions are OK as well.

    Cheers
    I am on a journey to mastering Linux and I got a bloody long way to go!!!

  3. #3
    Just Joined!
    Join Date
    May 2003
    Location
    /var/www/
    Posts
    23
    Thanks!


Posting Permissions

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