root@531a0c7c5e99:/home/NBSystem# python3 manage.py dbshell CommandError: You appear not to have the ‘mysql’ program installed or on your path. root@531a0c7c5e99:/home/NBSystem#
The error message indicates that the 'mysql’ program is not installed or not available in your system’s PATH.
To resolve this, you need to install the MySQL client tools. If you’re using a Debian-based system like Ubuntu, you can install it using apt:
bash
sudo apt-get update sudo apt-get install mysql-client
Once installed, you should be able to access the 'mysql’ command-line tool from your terminal. If you encounter any further issues, ensure that the MySQL client tools are properly installed and accessible from your system’s PATH.

ディスカッション
コメント一覧
まだ、コメントがありません