This is mysql-api dependant. Referring to 'mysql_real_connect' for
the mysql C-api docs:

`mysql_real_connect()' attempts to establish a connection to a MySQL
database engine running on `host'.  `mysql_real_connect()' must
complete successfully before you can execute any of the other API
functions, with the exception of `mysql_get_client_info()'.


Micah wrote:
I'm using dbmail 1.2, mysql and this may be a naive question, but does dbmail connect to the database via the network or mysql.sock?

Both are therefor possible, depending on your host parameter.

Dbmail-2 adds new parameters named sqlsocket and sqlport to explicate things, but 1.2 has them not.

--
  ________________________________________________________________
  Paul Stevens                                  mailto:[EMAIL PROTECTED]
  NET FACILITIES GROUP                     PGP: finger [EMAIL PROTECTED]
  The Netherlands________________________________http://www.nfg.nl

Reply via email to