as root in a terminal you need to do this
ports -u
That will take a while to complete. ... but when it finally does, execute this
ports -l | grep mysql
You will see this
opt/mysql
opt/mysql-python
opt/mysql-ruby
So you do this
cd /usr/ports/opt/mysql
Then to begin the build and install ... execute this command
pkgmk -d -i
if everything completes with no errors, you should have just built and installed a good mysql pacakge...
let me know how it goes
_EDIT_
You may need to run "export VL_PACKAGER=<your_nick_here>" before running pkgmk
_END_OF_EDIT_
ok
operation suceeded.
so what to do next?
i tried to start but got error message:
root:# /etc/rc.d/mysqld start
vector://
root:# 080123 18:51:53 [ERROR] /usr/sbin/mysqld: Can't find file: './mysql/host.frm' (errno: 13)
080123 18:51:53 [ERROR] /usr/sbin/mysqld: Can't find file: './mysql/host.frm' (errno: 13)
080123 18:51:53 [ERROR] Fatal error: Can't open and lock privilege tables: Can't find file: './mysql/host.frm' (errno: 13)
080123 18:51:53 [ERROR] /usr/sbin/mysqld: Error on delete of '/var/run/mysqld.pid' (Errcode: 13)