www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - mysql

reply "gedaiu" <szabobogdan yahoo.com> writes:
Hi,

Can anyone help me to connect to mysql from D?

Thanks!
Apr 15 2013
parent reply "simendsjo" <simendsjo gmail.com> writes:
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.
Apr 15 2013
parent reply "gedaiu" <szabobogdan yahoo.com> writes:
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
Apr 16 2013
next sibling parent "Rob T" <alanb ucora.com> writes:
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
Apr 17 2013
prev sibling parent "simendsjo" <simendsjo gmail.com> writes:
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
Apr 17 2013