Dynamic data import / export

datenbank

simply more productive
Up to 10,000 records can be processed with the freeware version!
Welcome, Guest
Username: Password: Remember me
Welcome to the FlowHeater support forum.

Questions about using FlowHeater are answered here.

TOPIC: Parameters read but not used on command line

Parameters read but not used on command line 7 months 5 days ago #2691

  • Sylvain
  • Sylvain's Avatar
  • Offline
  • New Member
  • Posts: 4
Hello,
I am using FlowHeater 4.0.2
I am facing an issue with parameters, when using MySQL Adapter.
I have defined parameters to tell IP Addresses on command line : 'src_IPaddr' and 'dst_IPaddr'. For both parameters, I have also defined default values :
src_IPaddr = 127.0.0.1
dst_IPaddr = 1.2.3.4
Now let's say that destination IP address is NOT 127.0.0.1, but another machine - ex = 10.32.49.52

I run Batch Modul using following command line : FHBatch.exe /SetParameter src_IPAddr=127.0.0.1 /SetParameter dstIPAddr=10.32.49.52 myTransfer.fhd

I get confirmation that both parameters have been read :
Set Parameter [src_IPaddr], Value [127.0.0.1]
Set Parameter [dst_IPaddr], Value [10.32.49.52]

But I also get this error : "Can't connect to MySQL server on '1.2.3.4' (xxxx) ..."
This means that value given on command line is read, but is not used - instead, default value is always used for MySQL Servername or IP.
Other MySQL params are correctly read and used : Database/Catalog, Port, User, Password
32bits and 64 bits FlowHeater versions are facing this issue.

Any idea ?
Thanks for your help.
The administrator has disabled public write access.

Parameters read but not used on command line 7 months 5 days ago #2692

  • FlowHeater-Team
  • FlowHeater-Team's Avatar
  • Offline
  • Administrator
  • Posts: 240
Hi Sylvain

I’ve made a short test with MySQL and in my opinion this feature works like expected :-)

I suppose you’ve just made a typing mistake with the Parameter names. In your second FHBatch /SetParameter option I miss the underline character like this “dst_IPAddr”

Note: With one of the next version I’ll raise a warning in case of the Parameter name dosn't exit in the Definition.
Best wishes
Robert Stark

Did this answer your question? We would be grateful if you provide a brief comment as feedback. It may also help others who may have encountered a similar problem.
The administrator has disabled public write access.

Parameters read but not used on command line 7 months 5 days ago #2694

  • Sylvain
  • Sylvain's Avatar
  • Offline
  • New Member
  • Posts: 4
Hi Robert,
You suppose well ! It's my mistake : even though I've double checked, underscore character was missing...
I do apologize for this wrong request !
Your suggestion would be nice : a warning could have told me my mistake.

Thanks for your quick reply ;-)
The administrator has disabled public write access.
Moderators: FlowHeater-Team
Time to create page: 0.075 seconds