|
|
MIMTCP -Database TCP/IP connect dispatcher
When a Mimer SQL database is created using the dbinstall command the definitions needed for remote access to the database is installed automatically. This setup is done in one of the files /etc/inetd.conf or /etc/xinetd.conf or in the directory
/etc/xinetd.d.In all these cases the mimtcp command is used as described under Networking Setup. The mimtcp command listens to a specified TCP/IP port for an incoming Mimer SQL database connection request. It finds out the database name in the handshake message and redirects the connection to the target database using the registered information in /etc/sqlhosts.
Note: It is possible to let a Mimer SQL database server listen directly to a TCP/IP port, i.e. not using the mimtcp redirecting function. This is achieved by changing the TCPPort parameter in the multidefs file from the default inetd value to the actual port number used. See The MULTIDEFS File on VMS and UNIX.
Syntax
The mimtcp syntax is as follows:
mimtcp [ -l [logfile]]Command-line arguments
Example
The following example will start mimtcp with logging using the default logfile, located in ~/.mimer_log/mimtcp.log:
mimtcp -lExit Codes
|
Mimer Information Technology AB Voice: +46 18 780 92 00 Fax: +46 18 780 92 40 info@mimer.se |
|
|