How to fix error mysqldump command Not Found in webuzo

How to fix error mysqldump command Not Found in webuzo

If you are Webuzo user, may be you ever found error message “mysqldump command Not Found” when you execute mysqldump command. How to fix error mysqldump command Not Found in webuzo?

Root cause of error mysqldump command Not Found

This error happen because your Linux system in webuzo does not recognize mysqldump command. Why? because mysqldump command in webuzo panel did not saved in /usr/bin

How to fix this problem

1. Create Symbolic link

You can create symbolic link at /usr/bin redirect to /usr/local/apps/mysql/bin like this:

ln -s /usr/local/apps/mysql/bin/mysqldump /usr/bin/mysqldump

or..

2. You have to write mysqldump with complete path

to avoid this error, you have to write mysqldump with complete path like this:

/usr/local/apps/mysql/bin/mysqldump --opt -u username -p databasename > filedb.sql
About the Author
T. Prihartanto
Hi.. I'm Tanto Prihartanto, Founder and Owner of Bestariweb Hosting, a web hosting company which established in 2012. I'm happy to share articles in another Blogsite like Tutorial Linux, Tutorial Wordpress, and Tutorial Web Design. I wish my article can enriched our knowledge and can help you to solve your problem.

Leave a Reply