Hello,
Btw, i'm already using the MySQL backend from upstream branch, so far it is
working great except for binding time and date_time types.
MySQL server is complaining about time and date_time types in statements
while creating tables and tables are not created.
I'm currently solving this with subclassing Wt::Dbo::backend::MySQL and
overriding like following:
const char* MySQLConnection::dateTimeType(Wt::Dbo::SqlDateTimeType type)
const
{
switch(type)
{
case Wt::Dbo::SqlDate: return "date"; break;
case Wt::Dbo::SqlDateTime: return "datetime"; break; //this was
datetime(6) and mysql server is complaining about it
case Wt::Dbo::SqlTime: return "time"; //this was time(6) the same
complains
}
return Wt::Dbo::backend::MySQL::dateTimeType(type);
}
I'm using MySQL Server 5.5, and mysql-connector-c-6.0.2 under macos.
Best,
Zoran
On Mon, Jan 21, 2013 at 9:46 AM, Wim Dumon <w...@emweb.be> wrote:
> That is correct. Wt supports mysql and mariadb since last December, so
> this wil be in the next release too. You can already find it in git, and
> the next release will be there very soon.
>
> Best regards,
> Wim.
>
>
>
> 2013/1/21 Plug Gulp <plug.g...@gmail.com>
>
>> > Date: Sun, 20 Jan 2013 16:28:16 +0100
>> > From: Dushan Savich <dushansav...@gmail.com>
>> > Subject: [Wt-interest] MySQL in Witty - Still not there? - Pathetic.
>> >
>> > Hey guys,
>> >
>> > I see yous till haven't put MySQL plugin code into witty , and that
>> > "community" one is still not working. How pathetic is that?
>> >
>>
>> Isn't there a support for MariaDB in the upstream branch? I did see
>> messages during cmake regarding MariaDB ORM.
>>
>>
>>
>> > As I've heard it, every other web library/framework every written in
>> every
>> > programming language in the world has MySQL plugin, never heard any of
>> them
>> > being sued by Oracle/Sun .
>> >
>> > I don't care about those 0.0000000000001% of geniuses using PostgresSQL
>> (I
>> > can't even spell it right, because it's so unknown :P )
>> >
>> > Cheers!
>> > Dushan
>>
>>
>> ------------------------------------------------------------------------------
>> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
>> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
>> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
>> MVPs and experts. SALE $99.99 this month only -- learn more at:
>> http://p.sf.net/sfu/learnmore_122412
>> _______________________________________________
>> witty-interest mailing list
>> witty-interest@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/witty-interest
>>
>
>
>
> ------------------------------------------------------------------------------
> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
> MVPs and experts. SALE $99.99 this month only -- learn more at:
> http://p.sf.net/sfu/learnmore_122412
> _______________________________________________
> witty-interest mailing list
> witty-interest@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/witty-interest
>
>
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest