March 12th, 2002, 07:30 AM
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.
Last edited by bryanko; March 12th, 2002 at 10:07 AM.
March 12th, 2002, 09:00 AM
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.
March 12th, 2002, 10:08 AM
Thanks for answering my question!
I have changed the subject title, hope it is better
March 12th, 2002, 10:13 AM
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.