Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have downloaded and extracted the latest MySQL package from their website on my FreeBSD machine, I would like to install it. But I don't want to use the inbuilt ports, I want the latest version to be installed.

All tutorials I have looked at just show how to install from the ports.

Can anyone guide me on what I need to do to make a fully running MySQL database server on my machine.

share|improve this question
Why don't you want to use ports? – eugene y May 11 '11 at 7:49
The ports come with an older version of MySQL, i thought if I compile the latest build, at least I can update it when I need to. Also I tried the ports and it gave me an error upon compiling. – Sandeep Bansal May 11 '11 at 13:56
The ports use a tested version that contains patches that may or may not have been applied already upstream. If the port does not build, you have other problems that require attention. – Mel May 16 '11 at 0:07
The error was that it was needed swap space, I installed the system without a swap file. Just created one and everything was fine. – Sandeep Bansal May 16 '11 at 0:11
When problems arise with user-compiled versions of MySQL, the official answer from MySQL tends to be: "Use the vendor-compiled version." In FreeBSD, this translates to ports. The port version is compiled and tested by many folks with a lot of knowledge; I don't think I'd want to run a self-compiled version in a production environment. – Mei Dec 16 '11 at 16:56
up vote 1 down vote accepted

Follow the directions for installing from the source installation.

share|improve this answer
Wow I can't believe I forgot about the documentation. Thanks! – Sandeep Bansal May 10 '11 at 21:36

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.