#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2002
    Location
    Hong Kong
    Posts
    23
    Rep Power
    0

    Question Mysql installation question!


    I am trying to install mysql with source code in Linux -> I think I can get better answer from here!

    From what I learn from this forum, I installed my mysql in /usr/local directory. I add the user and group "mysql" to run the server. In the official documents from mysql, they said if mysql installed in /usr/local/mysql, I should run:

    chgrp -R /usr/local/mysql

    but since I installed mysql in /usr/local and data files in /usr/local/mysql/data and run:

    chgrp -R /usr/local/mysql/data

    will it be OK and will not compromise the security of my system?

    I also would like to ask what utility u guys normally use to download files without a browser? I tried to use wget to download php source code from the official site but failed since their link is a php script which linked to somewhere in the server.

    *nix newbie
    Bryan
    Last edited by bryanko; March 12th, 2002 at 10:07 AM.
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2001
    Posts
    4
    Rep Power
    0
    Bad subject title so start here now.

    >> but since I installed mysql in /usr/local and data files in /usr/local/mysql/data and run

    You should have specified --localstatedir=/var/db/mysql in the first place. Anywhere under /usr should never be writable by daemons anyway.

    >> will it be OK and will not compromise the security of my system?

    Should be ok, it's just not optimized for writing to /usr.
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2002
    Location
    Hong Kong
    Posts
    23
    Rep Power
    0
    Thanks for answering my question!
    I have changed the subject title, hope it is better
  6. #4
  7. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2001
    Posts
    4
    Rep Power
    0
    Too late, you can't change the original subject and that's being most important for readers. So next time please post a proper subject title.

IMN logo majestic logo threadwatch logo seochat tools logo