Re: [Wt-interest] MySQL backend login

2014-03-03 Thread Muhammad Nasser Al-Noimi
> > dbo::backend::MySQL mysql("sre_db","username","password","IP",3306); > > sure this must work, you have to make sure that port is set correctly as the same port that MySQL server is using also if you are trying to connect to MySQL on another pc over network or internet you must set the permissio

Re: [Wt-interest] MySQL backend login

2014-03-03 Thread Tor Arne Fallingen
That actually makes a lot of sense to me. The thing is, Im trying to run that first program from the dbo tutorial, and I can’t really see where to pass the arguments for the connection itself. I guess you got the code in the examples that came with Wt, under features and dbo :) Would this be the

Re: [Wt-interest] MySQL backend login

2014-03-03 Thread Muhammad Nasser Al-Noimi
Hi Tor, I think the error you've got is because you didn't pass the database password. You need to initialize the connection and pass database user name and password, use the constructor for connection like this: connection_("dbname", "username", "password", "127.0.0.1", 3306) On Mon, Mar 3, 2

[Wt-interest] MySQL backend login

2014-03-03 Thread Tor Arne Fallingen
Im trying to start using the MySQL backend, but I keep getting this message: libc++abi.dylib: terminating with uncaught exception of type Wt::Dbo::backend::MySQLException: MySQL : Failed to connect to database server: Access denied for user 'root'@'localhost' (using password: NO) Apparently I n