Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

How to install Mysql on freebsd , i have tried a lot but after i am getting lot many error so i have removed it , but now i want to reinstall it so , can anyone suggest me the link / commands to install it ?

share|improve this question

closed as not a real question by voretaq7 Jul 24 '12 at 16:01

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

add comment

3 Answers 3

up vote 2 down vote accepted

I would recommend a mysql 5.1 binary from: http://dev.mysql.com/downloads/mysql/5.1.html

You can select freebsd from the dropdown.

Then follow the directions at: http://dev.mysql.com/doc/refman/5.1/en/binary-installation.html

These instructions are not bulletproof, so you may need to read a bit of documentation. Post questions if you have them.

share|improve this answer
add comment

make install clean -C /usr/ports/database/mysql51-server

http://www.freebsd.org/doc/en/books/handbook/ports.html

share|improve this answer
add comment

Use binary package(it's easier than to compile from ports):

pkg_add -r mysql51-server
share|improve this answer
add comment

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