No, Pyinstaller or py2exe are only use for python scripts, that just converts your python script and their's 3rd-party packages into stand-alone executable program without requiring a python installation.
If you want to install other softwares like MySQL
, then you need to do that with software installation programs.