On Friday, 20 February 2026 at 13:05:04 UTC, apz28 wrote:
On Friday, 20 February 2026 at 12:42:13 UTC, apz28 wrote:
On Friday, 20 February 2026 at 00:22:15 UTC, realhet wrote:
[...]
When make build, you need to include all db_myauth_...d modules/files so that it will register the authentication method.

This works too, Thank you!


Here I summarize all 3 methods of connecting to a MySql server on Win10 from DLang in 2026:
```
/+
        mysql-d/mysql-native
                33 modules, 11236 source lines,  331499 source bytes,  1.6MB exe
                Requires no dlls, no libs.
                Only works with old MySql 5.6, no SSL
+/
/+
        arsd.mysql
13 modules, 54330 source lines, 1619412 source bytes, 2.3MB exe
                Requires: libmysql.lib and .dll, OpenSSL 3
                Works with latest MySql 9.6, mandatory secure connection
+/
/+
        pham.db.db_mydatabase
97 modules, 114309 source lines, 4005137 source bytes, 4.2MB exe
                Requires: OpenSSL
                Works with latest MySql 9.6, mandatory secure connection
+/
```

Reply via email to