Mysql-native with LAMPP
Geert via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Mon Sep 12 06:25:38 PDT 2016
On Monday, 12 September 2016 at 09:59:30 UTC, wobbles wrote:
> On Monday, 12 September 2016 at 05:31:46 UTC, Geert wrote:
>> Hi all!
>>
>> I tried the client driver for MySQL/MariaDB "mysql-native".
>>
>> https://github.com/mysql-d/mysql-native
>>
>> Everything works well with an individually installed version
>> of MySql. But I would like to know if there is a way to make D
>> programms work with LAMPP/XAMPP. I'm getting this error
>> message while executing the program:
>>
>> host=localhost;port=3306;user=root;pwd=MY_testPa550;db=testdb
>> Failed:
>> std.socket.SocketOSException@/build/ldc/src/ldc/runtime/phobos/std/socket.d(2822): Unable to connect socket: Connection refused
>
> You're sure mysql is running?
Yes, it's running. I started it with LAMPP, and i can access to
the database through phpMyAdmin.
More information about the Digitalmars-d-learn
mailing list