Softaculous


Topic : Import from cpanel looks for incorrect mysql binary path


Posted By: interserver on May 12, 2020, 1:57 pm
Import from cpanel does not import mysql correct if mysql is 5.7.
Errors are:
h: /usr/local/apps/mysql/bin/mysql: No such file or directory
sh: /usr/local/apps/mysql/bin/mysql: No such file or directory
sh: /usr/local/apps/mysql/bin/mysql: No such file or directory
sh: /usr/local/apps/mysql/bin/mysql: No such file or directory



/var/webuzo/webuzo.conf has

WU_DEFAULT_MYSQL=mysql57

/usr/local/apps/mysql/bin/mysql is the location of mysql 5.5, which is extremely old and should be removed from webuzo anyway.


Running

Code

mkdir -p /usr/local/apps/mysql/bin/
ln -s /usr/bin/mysql /usr/local/apps/mysql/bin/mysql


resolves the error and import works fine



Posted By: wolke on May 12, 2020, 1:59 pm | Post: 1
Installing mysql 5.7 in Webuzo instead of 5.5 was not an option ?

Posted By: interserver on May 12, 2020, 2:04 pm | Post: 2
MySQL 5.7 is installed.
Webuzo's import from cpanel is looking for the mysql binary at /usr/local/apps/mysql/bin/mysql which is in mysql 5.5. That is not installed.

Posted By: wolke on May 12, 2020, 2:08 pm | Post: 3
I see, my fault. You should report this as a bug. I believe this can be fixed only by softaculous staff.

Posted By: interserver on May 12, 2020, 2:33 pm | Post: 4
Quote From : wolke May 12, 2020, 2:08 pm
I see, my fault. You should report this as a bug. I believe this can be fixed only by softaculous staff.

Posting here to help others out. I have reported bugs to softaculous in webuzo in tickets, I still see the same bugs :)

Powered By AEF 1.0.8 © 2007-2008 Electron Inc.