DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD Ports and Packages

FreeBSD Ports and Packages Installation and upgrading of ports and packages on FreeBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 27th October 2008
casteld73 casteld73 is offline
New User
 
Join Date: Oct 2008
Posts: 3
Default Apache Port Question / MYSQL

Another question on Apache.

The SQL Client for Apache is for MYSQL version 5.x.

I want to run MYSQL 5.1.x.

The client conflicts. I can remove the default apache client and then install the MYSQL client. How do I know that apache will be compat with the latest 5.1.x client?

Is it best to install MYSQL first and then compile/install apache?

Regards
Reply With Quote
  #2   (View Single Post)  
Old 30th October 2008
DNAeon DNAeon is offline
Shell Scout
 
Join Date: Sep 2008
Location: Bulgaria
Posts: 138
Default

Have you updated your ports tree?

There is a mysql-5.1-client and mysql-5.1-server, so there should be no problem with compatibility when you install them
__________________
"I never think of the future. It comes soon enough." - A.E

Useful links: FreeBSD Handbook | FreeBSD Developer's Handbook | The Porter's Handbook | PF User's Guide | unix-heaven.org
Reply With Quote
  #3   (View Single Post)  
Old 2nd November 2008
phoenix's Avatar
phoenix phoenix is offline
Risen from the ashes
 
Join Date: May 2008
Posts: 696
Default

If you have MySQL installed first, then the Apache port will detect it and use that version.

If you don't have MySQL installed, you can set WITH_MYSQL_VER=51 in /etc/make.conf, and the Apache port will pick that up and install the 5.1 mysql port.

If you don't have MySQL install, and nothing set in make.conf, then the default mysql version for the ports tree is 5.0.

Unless there's a specific feature in MySQL 5.1 that is not in 5.0, you should stick with 5.0. It's the fastest version of MySQL on FreeBSD. Kris Kenneway did a bunch of benchmarking with FreeBSD 7.x and 8.x on MySQL 4.x, 5.0, and 5.1 earlier in the year, and 5.0 was much faster than 5.1.
__________________
Freddie

Help for FreeBSD: Handbook, FAQ, man pages, mailing lists.
Reply With Quote
Reply

Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Broken Apache 2.2 Port casteld73 FreeBSD Ports and Packages 5 23rd January 2009 11:53 AM
Can start rtorrent like apache and mysql when system boot mfaridi FreeBSD Ports and Packages 0 26th November 2008 09:27 AM
Passing args to port / make while installing apache robot FreeBSD Ports and Packages 2 27th August 2008 01:55 PM
problems installing mysql port dejabu18 FreeBSD Ports and Packages 22 7th August 2008 09:23 AM
Apache 1.3 question jedispy FreeBSD General 0 13th June 2008 01:58 AM


All times are GMT. The time now is 03:49 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick