List:MySQL++« Previous MessageNext Message »
From:Jonathan Wakely Date:January 6 2008 2:55pm
Subject:Re: mysql++ 3.0 beta2 Connecting troubles
View as plain text  
On 06/01/2008, Bart Verstraete <bartverstraete@stripped> wrote:
> Why wont this work?
>
> m_connected = connect("TEST", "127.0.0.1", "user", "pw", 3307);
>
> It compiles without an error but while connecting it trows a exception
> "Access denied ....blablabla". The db is tunneled via ssh on port 3307

It's almost certainly nothing to do with mysql++ - try connecting to
the same DB through the same ssh tunnel using the `mysql' command line
client and see if that works.
If that fails as well then obviously the reason mysql++ fails to
connect is that you don't have permission to access the DB using that
setup.

Jon
Thread
mysql++ 3.0 beta2 Connecting troublesBart Verstraete6 Jan
  • Re: mysql++ 3.0 beta2 Connecting troublesJonathan Wakely6 Jan
    • Re: mysql++ 3.0 beta2 Connecting troublesBart Verstraete7 Jan
      • Re: mysql++ 3.0 beta2 Connecting troublesJim7 Jan
        • Re: mysql++ 3.0 beta2 Connecting troublesBart Verstraete8 Jan
          • Re: mysql++ 3.0 beta2 Connecting troublesJim9 Jan
            • Re: mysql++ 3.0 beta2 Connecting troublesBart Verstraete10 Jan
              • Re: mysql++ 3.0 beta2 Connecting troublesBart Verstraete10 Jan
                • Re: mysql++ 3.0 beta2 Connecting troublesBart Verstraete10 Jan
                  • Re: mysql++ 3.0 beta2 Connecting troublesWarren Young11 Jan
  • Re: mysql++ 3.0 beta2 Connecting troublesWarren Young7 Jan
    • Re: mysql++ 3.0 beta2 Connecting troublesBart Verstraete8 Jan
      • Re: mysql++ 3.0 beta2 Connecting troublesWarren Young8 Jan
        • Re: mysql++ 3.0 beta2 Connecting troublesBart Verstraete8 Jan
          • Re: mysql++ 3.0 beta2 Connecting troublesWarren Young8 Jan
            • Re: mysql++ 3.0 beta2 Connecting troublesBart Verstraete10 Jan
              • Re: mysql++ 3.0 beta2 Connecting troublesWarren Young11 Jan