question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

'mysqldump' not found in client home '/usr/local/var/mysql/virkdb' - Mac

See original GitHub issue

I am using DBeaver to connect to a local mysql data base. I would like to dump the database in a memory stick so I get the following error

IO Error: Utility 'mysqldump' not found in client home '/usr/local/var/mysql/virkdb'

I copied mysqldump into my database folder - still I get

IO Error: Utility 'mysqldump' not found in client home '/usr/local/var/mysql/virkdb'
/usr/local/var/mysql/virkdb/mysqldump --routines --add-drop-table --disable-keys --extended-insert -v --host=localhost --port=3306 -u root virkdb
Export started at Mon Dec 17 14:39:30 CET 2018
dyld: Library not loaded: @rpath/libssl.1.0.0.dylib
  Referenced from: /usr/local/var/mysql/virkdb/mysqldump
  Reason: image not found
Export finished at Mon Dec 17 14:39:30 CET 2018
Process exit code: 134

I can see there are a few other tickets (closed) but all addressing the problem in Windows.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:3
  • Comments:5

github_iconTop GitHub Comments

1reaction
elviragcommented, May 15, 2022

I copied the mysqldump file from the sql, after installing mysql-client with brew install mysql-client: sudo cp /opt/homebrew/Cellar/mysql/$(echo `mysql --version` | egrep -o "(\d+\.\d+\.\d+)")/bin/mysqldump /usr/local/var/mysql/virkdb

0reactions
ssjumacommented, Jun 24, 2022

If you have installed XAMPP or WAMPP on your local machine then in the connection settings, add this directory: /Applications/XAMPP/xamppfiles/bin and you should be good to go.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Mysqldump isn't working: "command not found" - Stack Overflow
If you have the latest mysql installation in El Capitan, the mysqldump executable should be in the /usr/local/mysql/bin directory.
Read more >
io error: utility 'mysqldump' not found in client home mac
io error: utility 'mysqldump' not found in client home mac. 1, From the desktop, right click the Computer icon. 2, Choose Properties from...
Read more >
4.5.4 mysqldump — A Database Backup Program
The mysqldump client utility performs logical backups, producing a set of SQL statements that can be executed to reproduce the original database object ......
Read more >
How to install & run mysqldump
mysqldump is part of the mysql-client package, which means you will have to install ... If you get a command not found message...
Read more >
Fix MySQL 'Command Not Found' Error in Windows
Tutorial on how to fix the MYSQL 'Command Not Found' error. Resolve the issue in Linux, Windows, and macOS with the PATH environment ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found