Specifying Passwords For MySQL For A MacOS And Linux Terminal Script Written In PHP
I'm developing a PHP terminal script to help set up website software development environments and the MySQL databases the websites use.
In some way or another, the developer needs to specify the MySQL username and password. Specifying a password on the command line is not secure, so how can this be done without compromising security?
The solution I talk about in this video is the --defaults-extra-file mysql command line option.
#MySQL #Database #WebDeveloper #WebsiteDeveloper