CodePudding user response:
Search for the ConnectionStringIf you don't use pre-configured DSN, usually has a parameter specifies the location of the database,
Such as the Access database file type usually only suitable for single use,
The zone, such as SQL Server/Oracle/DB2 Server can access through the network, but is usually a direct access to the local area network (LAN); Wan tend to add a similar Web service layer, to reduce the data transmission,
CodePudding user response:
If use Access database, can be used in a C/S mode, database Access, completely by the server to do this, in fact on a web page database query is this way, but in general it is called B/S mode,In most applications, even if is to use the services of the database system, and rarely configured to customers direct access to the database, it adopts B/S or C/S mode by the server to do, this is mainly for security reasons,