Re: [Gambas-user] import mysql dump EXEC or SHELL?

2008-12-18 Thread gambas
Am Donnerstag, 18. Dezember 2008 00:01:13 schrieb Doriano Blengino: > Charlie Reinl ha scritto: > Oops, perhaps my sentence was too loud. > Just to clarify: I am 45 years old. I don't know if I am old enough to > speak like an old man (I think "no") and no, I never seen the World War > 2nd. > > My

Re: [Gambas-user] import mysql dump EXEC or SHELL?

2008-12-17 Thread Doriano Blengino
Charlie Reinl ha scritto: > ---8< -- I cutted it all --- > > Salut Doriano, > > someone who knows what 'internet netiquette' is, > is not too old to use computers. > > That would mean, that all who have seen World War 2nd, > are too old to eat, because food was scarce at this time. > > No! Now

Re: [Gambas-user] import mysql dump EXEC or SHELL?

2008-12-17 Thread Charlie Reinl
---8< -- I cutted it all --- Salut Doriano, someone who knows what 'internet netiquette' is, is not too old to use computers. That would mean, that all who have seen World War 2nd, are too old to eat, because food was scarce at this time. No! Nowadays memory and speed is no more a problem,

Re: [Gambas-user] import mysql dump EXEC or SHELL?

2008-12-17 Thread Werner
> And all this is leading us where I would not want to go... perhaps I am > getting too old for computers... > Please don't! And I bet I'm older than you. I still remember your insight on udp broadcasting. Thanks for that. Werner

Re: [Gambas-user] import mysql dump EXEC or SHELL?

2008-12-17 Thread Doriano Blengino
Ron_1st ha scritto: > On Wednesday 17 December 2008, Doriano Blengino wrote: > >> Problem is: should an email client cut out the signature when replying, >> or not? kmail, Mozilla/Seamonkey and Thunderbird do. Assuming they are >> right, one should put a sign in the body of an email, but I wan

Re: [Gambas-user] import mysql dump EXEC or SHELL?

2008-12-17 Thread Ron_1st
On Wednesday 17 December 2008, Doriano Blengino wrote: > Problem is: should an email client cut out the signature when replying, > or not? kmail, Mozilla/Seamonkey and Thunderbird do. Assuming they are > right, one should put a sign in the body of an email, but I wanted not > to do it, and you t

Re: [Gambas-user] import mysql dump EXEC or SHELL?

2008-12-17 Thread Ron_1st
On Wednesday 17 December 2008, Benoit Minisini wrote: > On mercredi 17 décembre 2008, Doriano Blengino wrote: > > Ron_1st ha scritto: > > > P.S. Just a side note. At the moment when I 'reply' kmail strips every > > > thing below the '--' as signature. As result your name is also > > > stripped (I d

Re: [Gambas-user] import mysql dump EXEC or SHELL?

2008-12-17 Thread Doriano Blengino
Benoit Minisini ha scritto: > On mercredi 17 décembre 2008, Doriano Blengino wrote: > >> Ron_1st ha scritto: >> >>> P.S. Just a side note. At the moment when I 'reply' kmail strips every >>> thing below the '--' as signature. As result your name is also >>> stripped (I did cut/paste to get

Re: [Gambas-user] import mysql dump EXEC or SHELL?

2008-12-17 Thread Ron_1st
On Wednesday 17 December 2008, Doriano Blengino wrote: > Ron_1st ha scritto: > > P.S. Just a side note. At the moment when I 'reply' kmail strips every > > thing below the '--' as signature. As result your name is also > > stripped (I did cut/paste to get it back here) and also automagicly > > t

Re: [Gambas-user] import mysql dump EXEC or SHELL?

2008-12-17 Thread Benoit Minisini
On mercredi 17 décembre 2008, Doriano Blengino wrote: > Ron_1st ha scritto: > > P.S. Just a side note. At the moment when I 'reply' kmail strips every > > thing below the '--' as signature. As result your name is also > > stripped (I did cut/paste to get it back here) and also automagicly > > the a

Re: [Gambas-user] import mysql dump EXEC or SHELL?

2008-12-17 Thread Doriano Blengino
Ron_1st ha scritto: > P.S. Just a side note. At the moment when I 'reply' kmail strips every > thing below the '--' as signature. As result your name is also > stripped (I did cut/paste to get it back here) and also automagicly > the advertisement from SF is gone away. As in normal written mail

Re: [Gambas-user] import mysql dump EXEC or SHELL?

2008-12-17 Thread Ron_1st
On Wednesday 17 December 2008, Doriano Blengino wrote: > Ron_1st ha scritto: 8< > >> > > When I do understand it correct the error in the line > > > >>> EXEC ["mysql", sUser, sPassword, sHost, sDatabase, sImport, sSqlFile ] > >>> > > is the missing path for "mysql" (?) >

Re: [Gambas-user] import mysql dump EXEC or SHELL?

2008-12-16 Thread Doriano Blengino
Ron_1st ha scritto: > On Tuesday 16 December 2008, Doriano Blengino wrote: > >> Ron_1st ha scritto: >> >>> On Tuesday 16 December 2008, wig wrote: >>> >>> sImport = "< " & Application.Path & "/mytables.sql" EXEC ["mysql", sUser, sPassword, sHost, sDatabase, sImpor

Re: [Gambas-user] import mysql dump EXEC or SHELL?

2008-12-16 Thread Ron_1st
On Tuesday 16 December 2008, Doriano Blengino wrote: > Ron_1st ha scritto: > > On Tuesday 16 December 2008, wig wrote: > > > >> sImport = "< " & Application.Path & "/mytables.sql" > >> > >> EXEC ["mysql", sUser, sPassword, sHost, sDatabase, sImport] > >> > >> > > > > sImport = "< " > >

Re: [Gambas-user] import mysql dump EXEC or SHELL?

2008-12-16 Thread Doriano Blengino
Ron_1st ha scritto: > On Tuesday 16 December 2008, wig wrote: > >> sImport = "< " & Application.Path & "/mytables.sql" >> >> EXEC ["mysql", sUser, sPassword, sHost, sDatabase, sImport] >> >> > > sImport = "< " > sSqlFile = Application.Path & "/mytables.sql" > > EXEC ["mysql", sUser,

Re: [Gambas-user] import mysql dump EXEC or SHELL?

2008-12-16 Thread Ron_1st
On Tuesday 16 December 2008, wig wrote: > sImport = "< " & Application.Path & "/mytables.sql" > > EXEC ["mysql", sUser, sPassword, sHost, sDatabase, sImport] > sImport = "< " sSqlFile = Application.Path & "/mytables.sql" EXEC ["mysql", sUser, sPassword, sHost, sDatabase, sImport, sSqlFi

Re: [Gambas-user] import mysql dump EXEC parameters?

2008-12-16 Thread wig
Indeed, can be extended to intercept the command shell error, rest is the same, in the end it is one big string that is deliverd to SHELL. But with EXEC, it seems to be different: separate parameters are to be delivered and it is not clear how to deliver the part with the sql file: This does not

Re: [Gambas-user] import mysql dump EXEC or SHELL?

2008-12-16 Thread Jack
Le mardi 16 décembre 2008 12:20:06 wig, vous avez écrit : > > wig wrote: > >> Although I can create table by table from within Gambas with > >> hCon.Databases.Add(sDbName), I wondered if there is a way to "import" a > >> mysql dump file, so that I can create the tables with data (in one > >> comman

Re: [Gambas-user] import mysql dump EXEC or SHELL?

2008-12-16 Thread wig
> wig wrote: >> Although I can create table by table from within Gambas with >> hCon.Databases.Add(sDbName), I wondered if there is a way to "import" a >> mysql dump file, so that I can create the tables with data (in one >> command). >> >> Untill now I allways used phpMyAdmin dump/export and impor

Re: [Gambas-user] import mysql dump

2008-12-15 Thread Werner
wig wrote: > Although I can create table by table from within Gambas with > hCon.Databases.Add(sDbName), I wondered if there is a way to "import" a > mysql dump file, so that I can create the tables with data (in one > command). > > Untill now I allways used phpMyAdmin dump/export and import for cr

[Gambas-user] import mysql dump

2008-12-15 Thread wig
Although I can create table by table from within Gambas with hCon.Databases.Add(sDbName), I wondered if there is a way to "import" a mysql dump file, so that I can create the tables with data (in one command). Untill now I allways used phpMyAdmin dump/export and import for creating the database st