我需要用我的pyinstaller应用程序包一个MySQL服务器/客户端吗?

时间:2023-01-13 20:14:50

I built an application using pyside and sqlalchemy. I package this application with Pyinstaller. It works great with the sqlite database engine, but I am starting to deploy it now and want to do so with the mysql engine. Do I need to package a Mysql server/client with the application? And if so can I do so with Pysinstaller?

我使用pyside和sqlalchemy构建了一个应用程序。我用Pyinstaller打包这个应用程序。它对sqlite数据库引擎非常有用,但我现在开始部署它,并希望使用mysql引擎实现它。我需要打包一个Mysql服务器/客户端应用程序吗?如果可以的话,我可以用Pysinstaller吗?

1 个解决方案

#1


2  

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.

不,Pyinstaller或py2exe只用于python脚本,它只将您的python脚本和它们的第三方包打包成独立的可执行程序,而不需要python安装。

If you want to install other softwares like MySQL, then you need to do that with software installation programs.

如果您想要安装其他软件,如MySQL,那么您需要使用软件安装程序。

Here is a list of them.

这是他们的名单。

#1


2  

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.

不,Pyinstaller或py2exe只用于python脚本,它只将您的python脚本和它们的第三方包打包成独立的可执行程序,而不需要python安装。

If you want to install other softwares like MySQL, then you need to do that with software installation programs.

如果您想要安装其他软件,如MySQL,那么您需要使用软件安装程序。

Here is a list of them.

这是他们的名单。