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, 2014 at 8:21 PM, Tor Arne Fallingen <[email protected]>wrote:

> 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 need to set a password, but where and how? Im basically
> trying to run the tutorial with minor adjustments, switching sqlite3 with
> mysql and adding a database that I know exist. Could anyone spare me a
> moment and explain what Im doing wrong?
>
> -Tor
>
>
> ------------------------------------------------------------------------------
> Subversion Kills Productivity. Get off Subversion & Make the Move to
> Perforce.
> With Perforce, you get hassle-free workflows. Merge that actually works.
> Faster operations. Version large binaries.  Built-in WAN optimization and
> the
> freedom to use Git, Perforce or both. Make the move to Perforce.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
> _______________________________________________
> witty-interest mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/witty-interest
>
>
------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to