Welcome Guest. Please Login or Register  


You are here: Index > Webuzo > Bugs > Topic : Import from cpanel looks for incorrect mysql binary path



Normal Mode | Print  

 Import from cpanel looks for incorrect mysql binary path (4 Replies, Read 14941 times)
interserver
Group: NOC
Post Group: Newbie
Posts: 22
Status:
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


IP: --   


Threads
 interserver   Import from cpanel looks for incorrect mysql binary path (4 Replies, Read 14941 times)
    |--  wolke   Installing mysql 5.7...   on May 12, 2020, 1:59 pm
    |--  interserver   MySQL 5.7 is...   on May 12, 2020, 2:04 pm
    |--  wolke   I see, my...   on May 12, 2020, 2:08 pm
    |--  interserver   I see, my...   on May 12, 2020, 2:33 pm

« Previous    Next »

Normal Mode | Print  



Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is April 25, 2024, 11:04 am.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.058