且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何检查安装程序和计算机中安装的MYSQL安装程序部署项目

更新时间:2023-11-28 16:41:58

您不应该真正安装MySql:就像SQL Server一样,它是一个多用户数据库,通常会安装在一台单独的服务器,而不是在每台用户计算机上.如果您在当前PC上进行安装,但没有安装该PC,则不应自动假定安装正确-用户可能要使用基于服务器的现有安装.
否则,如果您有五个用户安装您的应用程序,则他们都将获得单独的数据库,而不是共享相同的数据.如果您想这样做,那么我建议您使用SqlCE或SQLite,因为它们仅用于独立的数据库支持,不需要用户管理.
You shouldn''t really install MySql: just like SQL Server, it is a multiuser database, and would normally be installed on a separate server, rather than on each individual users computer. If you chek the current PC for an installation, and it isn''t present, you should not automatically assume it is correct to install it - the user may want to use a preexisting server based installation.
Otherwise, if you have five users installing your application, they would all get separate databases rather than sharing the same data. If you want to do that, then I would suggest using SqlCE or SQLite as they are only for stand alone database support and require no user administration.