[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mysql-plusplus
Subject:    win32 connecting to a different port
From:       Ken - MySQL List <mysql-list () kw ! anchorcon ! com>
Date:       2001-11-15 14:59:19
[Download RAW message or body]

Hello:

Using MSVC version 6 (Win2k).   	Running MySQL server on a non-standard 
port number (not 3306, but 3307).

Trying to connect using MySQL++ api that was ported to MSVC by Lazy Fox 
(v1.7.1).
Using:

Connection con("MyDB", "127.0.0.1", "root","rootpw", 3307, 1, 30,true,"");

This fails, indicating can not connect.  However, leaving the program alone 
and changing the port that the mysql server runs on to 3306, does work.

It appears that the port number in the API is simply being ignored.   Am I 
doing something wrong?

Anyone else experience this?   Is there a port to MSVC newer than the 1.71 
release?

Thanks

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic