Get the App
SLTechnology News&Howtos  ›  Database  › 

Problem resolution that mysql is not an internal or external command or a runnable program or batch file

Shulou Source: shulou.com Published: 2022-06-01 20:30:19 10月01日 Update

Today, the editor shares with you the solution to the problem that mysql is not an internal or external command or a runnable program or batch file. I believe many people do not know much about it. In order to make you understand better, I have summarized the following contents for you. Let's look down together. I'm sure you'll get something.

Mysql is not internal or external commands, nor is it a runnable program or batch file?

Sort out the causes in turn

1. Environment * first of all, it may be that the environment variables are not well matched. * * the cmd command line requires environment variables.

Right-click my computer-Advanced system Settings-Environment variables-system variables-Path (click to add MySQL's bin directory)

My bin directory here is

After it has been added.

2 start cmd. Note that you need to start it with an administrator here.

Enter cmd, right-run as an administrator.

Cd jumps to the bin directory.

Enter mysql-uroot-p

Enter the password again, and you'll come in.

These are the details of how to solve the problem that mysql is not an internal or external command or a runnable program or batch file. Please pay more attention to other related articles!

Tags: Commands runs variables files programs environment directories inputs methods problems content administrators systems administration advanced reason passwords that is articles more Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Docker Shulou Information NVidia OPPO Reno Linux