Do I need to installed mysql globally? Because when I goes this path - C:\Program Files\MySQL\MySQL Server 8.3\bin> and run this command mysql --version. I see the version. But when I run the same command at - C:/projects I get this " ‘mysql’ is not recognized as an internal or external command,operable program or batch file."
You usually don’t need to call any MySQL binaries directly so the directory does not need to be in the PATH
. MySQL runs as a service and is talked to via the network.
Sure, but it is convenient to have the possibility to call the binaries from anywhere.
I did not use MySQL for some time but there was a program that actually deals with connecting to MySQL as CLI.