DBngin lets you run multiple versions of MySQL, PostgreSQL, and Redis simultaneously. However, since it supports multiple versions, it doesn’t automatically add the mysql executable to your PATH. Running mysql directly in the terminal will result in a “command not found” error.
Add the Latest MySQL Version to PATH
Add the following to ~/.bashrc to automatically pick up the latest MySQL version’s path:
| |
After reopening the terminal, you can use the mysql command directly.
