Yo guys,
I'm new to FreeBSD / Unix-like operating-systems and was wondering if you guys could help me out with this 'installing mysql-server' problem I'm having. All right here it goes: I can't seem to get mysql51-server to install properly. I've tried mysql50-server and mysql55-server as well, but I got the same problem over and over again.
To install mysql51-server I entered the following commands:
Everything is going smooth (I think), until the end, when I get this message (don't know if all the displayed information is useful though):
Since I'm not that knowledgeable about this sort of thing I just try to follow the next step in the installing process according to the "how to" I was using until just now:
Then I got this error:
So, anyone willing to help me out here?
Like I said at the start of this post I tried different versions of the mysql-server so before my latest attempt I gave this command:
I'm new to FreeBSD / Unix-like operating-systems and was wondering if you guys could help me out with this 'installing mysql-server' problem I'm having. All right here it goes: I can't seem to get mysql51-server to install properly. I've tried mysql50-server and mysql55-server as well, but I got the same problem over and over again.
To install mysql51-server I entered the following commands:
# cd /usr/ports/databases/mysql51-server
# make install clean
Everything is going smooth (I think), until the end, when I get this message (don't know if all the displayed information is useful though):
Code:
.....
===> Installing ldconfig configuration file
===> Registering installation for mysql-client-5.1.61
===> Returning to build of mysql-server-5.1.61
===> Generating temporary packing list
===> Checking if databases/mysql51-server already installed
===> Creating users and/or groups.
Using existing group `mysql'.
Creating user `mysql' with uid `88'.
pw: user 'mysql' already exists
*** Error code 74
Stop in /usr/ports/databases/mysql51-server.
Since I'm not that knowledgeable about this sort of thing I just try to follow the next step in the installing process according to the "how to" I was using until just now:
# rehash
# mysql_install_db --user=mysql
Then I got this error:
Code:
mysql_install_db: Command not found.
So, anyone willing to help me out here?

Like I said at the start of this post I tried different versions of the mysql-server so before my latest attempt I gave this command:
# pkg_delete -xi mysql