BSD Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsBSD Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old March 12th, 2002, 06:30 AM
bryanko bryanko is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2002
Location: Hong Kong
Posts: 23 bryanko User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation 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 09:07 AM.

Reply With Quote
  #2  
Old March 12th, 2002, 08:00 AM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation 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.

Reply With Quote
  #3  
Old March 12th, 2002, 09:08 AM
bryanko bryanko is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2002
Location: Hong Kong
Posts: 23 bryanko User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thanks for answering my question!
I have changed the subject title, hope it is better

Reply With Quote
  #4  
Old March 12th, 2002, 09:13 AM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation 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.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsBSD Help > Newbie questions!


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway