Re: Mysql-native - full database backup

2017-01-05 Thread Geert via Digitalmars-d-learn
On Thursday, 5 January 2017 at 21:47:55 UTC, Daniel Kozák wrote: Geert via Digitalmars-d-learn napsal Čt, led 5, 2017 v 3∶13 : [...] [...] Nice function. Thanks!

Re: Mysql-native - full database backup

2017-01-05 Thread Geert via Digitalmars-d-learn
On Thursday, 5 January 2017 at 01:16:09 UTC, crimaniak wrote: On Monday, 2 January 2017 at 15:29:08 UTC, Geert wrote: Hi! How can i create a full database backup using mysql-native for D? Too common question. Do you have problems with driver usage? Do you have problems with database backup s

Mysql-native - full database backup

2017-01-02 Thread Geert via Digitalmars-d-learn
Hi! How can i create a full database backup using mysql-native for D? https://github.com/mysql-d/mysql-native Thanks!

Re: Forum for new programmers in spanish.

2016-09-19 Thread Geert via Digitalmars-d-learn
On Monday, 19 September 2016 at 10:10:18 UTC, Seb wrote: I don't speak Spanish, but I do like your idea of bringing D to more people :) Two ideas: 1) You could help to translate the DLang Tour to Spanish: https://tour.dlang.org https://github.com/dlang-tour/spanish 2) StackOverflow has an e

Forum for new programmers in spanish.

2016-09-18 Thread Geert via Digitalmars-d-learn
Hi all! I'm a PHP programmer, and i've been searching for new languages to learn. I think D it's the best of the newest languages, due its good documentation, clean sintaxis (or less verbose), and the applications developed in D run fast. I've read a D application could run as fast as one dev

Re: Embed glade file into a binary

2016-09-17 Thread Geert via Digitalmars-d-learn
On Saturday, 17 September 2016 at 19:07:33 UTC, Lodovico Giaretta wrote: addFromFile expects the *name* of the file. Because you already have the *contents* of the file, you should change method. Maybe addFromString is the correct one, but I'm not sure. "g.addFromString(fileContent);" It w

Re: Embed glade file into a binary

2016-09-17 Thread Geert via Digitalmars-d-learn
On Saturday, 17 September 2016 at 18:36:52 UTC, llmp wrote: On Saturday, 17 September 2016 at 18:18:37 UTC, Geert wrote: I've compiled a small application, and it runs when i execute it at the same directory where is the glade file. Is there a way to embed a glade file into a binary? enum fi

Embed glade file into a binary

2016-09-17 Thread Geert via Digitalmars-d-learn
I've compiled a small application, and it runs when i execute it at the same directory where is the glade file. Is there a way to embed a glade file into a binary?

Re: Mysql-native with LAMPP

2016-09-12 Thread Geert via Digitalmars-d-learn
On Monday, 12 September 2016 at 15:02:50 UTC, Martin Krejcirik wrote: # netstat -npl | grep mysql unix 2 [ ACC ] STREAM LISTENING 239449 6293/mysqld /opt/lampp/var/mysql/mysql.sock Mysql defaults to unix socket, you need to add bind-address=127.0.0.1 to my.cnf [m

Re: Mysql-native with LAMPP

2016-09-12 Thread Geert via Digitalmars-d-learn
On Monday, 12 September 2016 at 14:00:18 UTC, Daniel Kozak wrote: And are you sure it is using tcp4 socket on port 3306? You can use netstat -tlnp to see if is running on tcpv4 3306 I get nothing with TCP option, only when i run this command: # netstat -npl | grep mysql unix 2 [ ACC

Re: Mysql-native with LAMPP

2016-09-12 Thread Geert via Digitalmars-d-learn
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-native with LAMPP

2016-09-11 Thread Geert via Digitalmars-d-learn
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 messa

Re: Error while compiling and linking modules (mysql)

2016-09-11 Thread Geert via Digitalmars-d-learn
On Sunday, 11 September 2016 at 21:43:12 UTC, Geert wrote: Hi! I'm using a mysql wrapper (i don't even know how to use it yet) that i got from github: https://github.com/adamdruppe/arsd When i try to compile the code i get an error message: Error: module mysql is in file 'mysql.d' which c

Error while compiling and linking modules (mysql)

2016-09-11 Thread Geert via Digitalmars-d-learn
Hi! I'm using a mysql wrapper (i don't even know how to use it yet) that i got from github: https://github.com/adamdruppe/arsd When i try to compile the code i get an error message: Error: module mysql is in file 'mysql.d' which cannot be read This is the folder structure i have: /home/

Re: std.process spawnShell/pipeShell dont capture output of the shell

2016-09-10 Thread Geert via Digitalmars-d-learn
I'm sorry for the "necro-bumping", but I've not found the solution for this yet, and i'm getting a different error message at the execution moment: "std.stdio.StdioException@/build/ldc/src/ldc/runtime/phobos/std/stdio.d(4066): Bad file descriptor" This is my testing code: module dd_test;

Re: [GtkD] How to connect to notify::active signal?

2016-09-08 Thread Geert via Digitalmars-d-learn
On Saturday, 4 May 2013 at 09:59:12 UTC, Mike Wey wrote: On 05/04/2013 05:20 AM, Alexandr Druzhinin wrote: 04.05.2013 1:18, Mike Wey пишет: On 05/03/2013 06:30 PM, Alexandr Druzhinin wrote: I need to connect to "notify::active" signal for Switch widget to process changing of its state. The gui