Thread overview
mysql
Apr 15, 2013
gedaiu
Apr 15, 2013
simendsjo
Apr 16, 2013
gedaiu
Apr 17, 2013
Rob T
Apr 18, 2013
simendsjo
April 15, 2013
Hi,

Can anyone help me to connect to mysql from D?

Thanks!
April 15, 2013
On Monday, 15 April 2013 at 17:34:07 UTC, gedaiu wrote:
> Hi,
>
> Can anyone help me to connect to mysql from D?
>
> Thanks!

You can use Steve Teales native library. The most up-to-date version is here: https://github.com/rejectedsoftware/mysql-native

It relies on vibes async sockets though. You'll have to grab an earlier version or modify it yourself if you want to use phobos sockets.
April 16, 2013
On Monday, 15 April 2013 at 19:25:19 UTC, simendsjo wrote:
> On Monday, 15 April 2013 at 17:34:07 UTC, gedaiu wrote:
>> Hi,
>>
>> Can anyone help me to connect to mysql from D?
>>
>> Thanks!
>
> You can use Steve Teales native library. The most up-to-date version is here: https://github.com/rejectedsoftware/mysql-native
>
> It relies on vibes async sockets though. You'll have to grab an earlier version or modify it yourself if you want to use phobos sockets.

Thanks for the tip!

I would like to use vibe, but i don't know how to install it.. I am using ubuntu.

I ran the setup-linux.sh script, it worked perfectly, but my d procram does not see the mdules...


Thanks,
Bogdan
April 17, 2013
On Tuesday, 16 April 2013 at 21:09:42 UTC, gedaiu wrote:
> On Monday, 15 April 2013 at 19:25:19 UTC, simendsjo wrote:
>> On Monday, 15 April 2013 at 17:34:07 UTC, gedaiu wrote:
>>> Hi,
>>>
>>> Can anyone help me to connect to mysql from D?
>>>
>>> Thanks!
>>
>> You can use Steve Teales native library. The most up-to-date version is here: https://github.com/rejectedsoftware/mysql-native
>>
>> It relies on vibes async sockets though. You'll have to grab an earlier version or modify it yourself if you want to use phobos sockets.
>
> Thanks for the tip!
>
> I would like to use vibe, but i don't know how to install it.. I am using ubuntu.
>
> I ran the setup-linux.sh script, it worked perfectly, but my d procram does not see the mdules...
>
>
> Thanks,
> Bogdan

If you still have vibe related issues, try asking for assistance here
http://vibed.org/community

--rt
April 18, 2013
On Tuesday, 16 April 2013 at 21:09:42 UTC, gedaiu wrote:
> On Monday, 15 April 2013 at 19:25:19 UTC, simendsjo wrote:
>> On Monday, 15 April 2013 at 17:34:07 UTC, gedaiu wrote:
>>> Hi,
>>>
>>> Can anyone help me to connect to mysql from D?
>>>
>>> Thanks!
>>
>> You can use Steve Teales native library. The most up-to-date version is here: https://github.com/rejectedsoftware/mysql-native
>>
>> It relies on vibes async sockets though. You'll have to grab an earlier version or modify it yourself if you want to use phobos sockets.
>
> Thanks for the tip!
>
> I would like to use vibe, but i don't know how to install it.. I am using ubuntu.
>
> I ran the setup-linux.sh script, it worked perfectly, but my d procram does not see the mdules...
>
>
> Thanks,
> Bogdan

Install it with dub. Registry.rejectedsoftware.com iirc