View Single Post
  #4  
Old 06-06-2002, 11:59 PM
Trumpcard
Demi-God
 
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
Default

Haven't looked into it, but if it's using the standard Mysql C++ API, there are several connection methods available.. Probably just need to switch to one that includes the port when making the initial connection then read it out of the env file.


public Connection (const char *db, const char *host = "", const char *user = "", const char *passwd = "", bool te = true)

public Connection (const char *db, const char *host, const char *user, const char *passwd, uint port, my_bool compress = 1, unsigned int connect_timeout = 5, bool te = true, cchar *socket_name = "")
Reply With Quote