1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

[Django] CommandError: You appear not to have the 'mysql' program installed or on your path.

Last updated at Posted at 2022-02-27

#使用環境
Windows 11

#解決方法
path の追加。
path の追加方法が以下のサイトに載っています。

#説明
python manage.py dbshell コマンド使用後、SQL クライアントがない場合と Windows に SQL がインストールされていない場合、タイトルのエラーメッセージが出た。

#エラーメッセージ

CommandError: You appear not to have the 'mysql' program installed or on your path.

#原因
path の追加が正しくできていなかった。

#参考サイト

[課題] CommandError: You appear not to have the 'mysql' program installed or on your path. と出る
https://zenn.dev/wtkn25/articles/django-mysqlclient-install

コマンドラインツールにPATHを設定する
https://www.dbonline.jp/mysql/connect/index6.html#section1

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?