Unable to install MySQL on FreeBSD 12.x platform

directvoip

Verified User
Joined
Jul 23, 2012
Messages
8
Have tried to install on FreeBSD 12.1 and the following comes up
===========================================
ensure_my_cnf: cannot find /usr/local/directadmin/conf/mysql.conf
Cannot find /usr/bin/mysqldump
ensure_my_cnf: cannot find /usr/local/directadmin/conf/mysql.conf
Cannot find mysql-5.7.27 package for installation
Could not find /usr/local/directadmin/scripts/directadmin_cron or it is empty
===========================================

This was a perfectly working system on FreeBSD 11.x and need to move to FreeBSD 12.x.

Have tried using custombuild and also used pkg to install MySQL client and server.

Any Ideas please ?
 

bdacus01

Verified User
Joined
Jul 22, 2017
Messages
672
Location
Murfreesboro
Could not find /usr/local/directadmin/scripts/directadmin_cron or it is empty
Seems to be complaining about cron.
try something like this.
Code:
cd /usr/local/directadmin/custombuild
./build set cron yes
./build set cron_frequency weekly
./build set notifications yes
./build set da_autoupdate yes
./build set updates yes
./build set webapps_updates yes
./build set clean yes
./build set cleanapache yes
./build set clean_old_tarballs yes
./build set clean_old_webapps yes
./build cron
 

directvoip

Verified User
Joined
Jul 23, 2012
Messages
8
Seems to be complaining about cron.
try something like this.
Code:
cd /usr/local/directadmin/custombuild
./build set cron yes
./build set cron_frequency weekly
./build set notifications yes
./build set da_autoupdate yes
./build set updates yes
./build set webapps_updates yes
./build set clean yes
./build set cleanapache yes
./build set clean_old_tarballs yes
./build set clean_old_webapps yes
./build cron
Thanx Brent, however I have tried all the above and still have the same errors. I have tried reinstalling over 5 times and am extremely quite frustrated as of now.
 

bdacus01

Verified User
Joined
Jul 22, 2017
Messages
672
Location
Murfreesboro
I am not a BSD guy so I may not be able to fully help you. If you haven't given up. Tell me some basic stuff.

Is this a new server?
New install?
Have you run or every run
Code:
cd /usr/local/directadmin/custombuild
./build clean
./build update
./build all d
If it is not a new install what changed?
 

DirectAdmin Support

Administrator
Staff member
Joined
Feb 27, 2003
Messages
8,988
FYI, I've just gone through and done some rework on the FreeBSD MySQL section of the CustomBuild script.
If you ./build update to ./build version; "rev 2351", it should properly try and grab the MySQL 5.7/8.0 binaries.
The fallback is a correct compile, should the binaries be missing (eg: MariaDB has no binaries for FreeBSD on our filesX servers)

John
 

directvoip

Verified User
Joined
Jul 23, 2012
Messages
8
Thank you John. Acquired another license for FreeBSD 12.x and I can confirm the installation was a complete breeze. Hitch free installation. Excellent response. Regards
 
Top