How to access the database from MQL4 , ORACL , MSSQL, MySQL - page 4

 
kombat:
Andy_Kon:

Is it very difficult to run MySQL on your PC? :)

Is that a question or... ? ;)))


If a question, then no, it's not difficult.

The Denver package takes about 15 minutes to deploy and slightly configure.

If the current base, it's probably even less time and hassle.

I do not know, I'm using the entire Chicken Run... :)))


If either ..., I do not see the practicality of a local base of information from MT.

My ideas to merge on the host, so that there deploy various projects,

or even simply, for example, to "monitor" the state of the trading account with the trust.

Yes, many things can come up ...

The main thing is to have one more source of information.

This is rather to integrate

1. It is possible to upload the entire quote base

for easy and quick analysis in other programs

2-who is interested in collecting ticks

3-integration with other applications

4-data preparation for neural networks is much easier

---

many variants

 

Yuraz, thanks for the link, how did you deal with the trial? Or did you buy it?

 
kombat:
Andy_Kon:

Is it very difficult to run MySQL on your PC? :)

Is that a question or... ? ;)))


If a question, then no, it's not difficult.

The Denver package takes about 15 minutes to deploy and a little configuration.

If the current base, it's probably even less time and hassle.

I do not know, I'm using the entire Chicken Run... :)))


If either ..., I do not see the practicality of a local base of information from MT.

My ideas to merge on the host, so that there deploy various projects,

or even simply, for example, to "monitor" the state of the trading account with the trust.

Yes, many things can come up ...

The main thing is one more source of information.

The question was posed differently.

1. Why contact hoster when you have your own PC?

2. Why denver, it can be much simpler.

 
Andy_Kon:

The question was posed differently.

1. Why contact the hoster when you have your own PC?

2. Why denver, it's much easier.


I get it now...


I was just confused by the wording.

For I see MySQL as a more attractive tool.

1. Home network, that's fribsd with muscle.

2. Computers for testing and calculations and so on.

3. If on a single computer, it's Denver.

4. Which, in addition to this task, solves many other problems.

5. The possibility of attempting to download and postpone.


This is all probable and not all options.

However, everyone has his own tasks... ;)))


ZS: But with a sample of the database still nothing.

I can't even formulate a query...

Constantly generates error 1065

I'm reading the muscle manual...

 

In many cases the answer from the database is an array.

 
Andy_Kon:

In many cases the answer from the base is an array.


Never, it's always a string. But the question of interpretation... that's another matter. Getting the value from the database directly is not difficult, just identify the string as a string.

 
1065 - I had a lot of trouble with it! :)) Took me a week, I don't remember.
 
Red.Line писал (а):

Yuraz, thanks for the link, how did you deal with the trial? Or did you buy it?

No, I didn't.


Go to www.sql.ru.

It's got a lot of answers, you probably know the site.

 
Red.Line писал (а):
Andy_Kon:

In many cases the answer from the base is an array.


Never, it's always a string. But the question of interpretation... that's another matter. Getting the value from the base directly isn't difficult, just identify the string as a string.

I won't even argue. (I've been working with them for 10 years).

 

Probably in wrong branch, but I want to write my dll for work with DBMS SQL from MT4. I know TSQL and C#, but my DLL does not work, please tell me what is wrong?

C# code:

using System;
using System. Collections. Generic;
using System. Linq;
using System. Text;

namespace MT4Method
{
    public class MT4Class
    {
        public static int SaveSQL(int x, int y)
        {
            return ( x * y);
        }
    }
}

I am trying to call DLL in MT4:

#import "MT4"
int SaveSQL( int,int);  

void start()
{
   int rez= SaveSQL(10,2);
   Comment("Результат"+ rez);
}

I get a message in MT4: "cannot call function 'SaveSQL' from dll 'MT4'(error 127)"

Probably a trivial error, I'm just rehabilitating after 2 years of working as a 1C programmer.

Can you tell me where I'm going wrong.

Reason: