Re: MySQL connector/driver behaviour with Visual C++ CLR/CLI project
On Feb 2, 8:48 pm, 0 <jeffrey.whites...@gmail.com> wrote:
Hello. i'm having an issue getting the MySQL connector/driver to
behave proberly with a Visual C++ CLR/CLI project.... my issue is
best described by this screen capture:http://img97.imageshack.us/i/mysqli=
ssue.jpg/
The host name that MySQL is trying to resolve is a series of strange
characters.... certainly not the "string" that is passed into the
connector function. The exception handler is saying: Unknown MySQL
server host 'U=E2=80=B9=C3=ACWVS =C3=AC ' (11004)... clearly it is =
not trying to
connect to tcp://bluetech
Has anyone see this? Could it have to do with language/character se=
ts
or something? I've already tried: this->con = this->driver->conne=
ct
(L"tcp://bluetech:3306",L"SC",L"SC"); but, the connect function is
looking for a std::string.
Can someone please help me?
Your best bet is to go to a group with microsoft and/or VC in it's
name.
C++/CLI is not -- despite what MS wishes -- C++. It's off-topic here,
as
are O/S specific issues.