Jump to content

FreeBSD 7.1 x86 cant install Mysql?


Recommended Posts

Hey guys i try to install Mysql on my FreeBSD 7.1 server and i got this error:

 

freebsd71# cd /usr/ports/databases/mysql51-server/
freebsd71# make install WITH_XCHARSET=all clean
Unknown modifier 't'
 
"/usr/ports/Mk/bsd.port.mk", line 1767: Malformed conditional (defined(USE_RC_SUBR) && ${USE_RC_SUBR:tu} != "YES")
Unknown modifier 't'
 
Unknown modifier 't'
 
Unknown modifier 't'
 
"/usr/ports/Mk/bsd.sites.mk", line 957: Malformed conditional (!empty(_PERL_CPAN_ID) && ${_PERL_CPAN_FLAG:tl} == "cpan")
Unknown modifier 't'
 
"/usr/ports/Mk/bsd.port.mk", line 2929: Unclosed conditional/for loop
"/usr/ports/Mk/bsd.port.mk", line 2929: Unexpected end of file in for loop.
 
"/usr/ports/Mk/bsd.port.mk", line 6708: Unclosed conditional/for loop
"/usr/ports/Mk/bsd.port.mk", line 6708: Unexpected end of file in for loop.
 
make: fatal errors encountered -- cannot continue
 
 
 
would  u pls help me?
Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

  • 7 months later...

FreeBSD 7.x family and MySQL 5.0.x family EOL (not supporting).

FreeBSD update:

# freebsd-update upgrade -r 9.2-RELEASE
# freebsd-update install
​# reboot

MySQL Installation:

# cd /usr/ports/databases/mysql56-client ; make install clean
# cd /usr/ports/databases/mysql56-server ; make install clean
# echo 'mysql_enable="YES"' >> /etc/rc.conf
# /usr/local/etc/rc.d/mysql-server onestart
# mysql
mysql> GRANT ALL PRIVILEGES ON *.* TO 'mt2'@'localhost' IDENTIFIED BY 'mt2!@#' WITH GRANT OPTION;
mysql> GRANT ALL PRIVILEGES ON *.* TO 'username'@'%' IDENTIFIED BY 'password' WITH GRANT OPTION;
mysql> flush privileges;
mysql> quit
# /usr/local/etc/rc.d/mysql-server onerestart
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.