I also noticed the following when removing the EA:
2021.08.2001:20:24.248 Sync (EURUSD,H1) 6 undeleted objects left
2021.08.2001:20:24.248 Sync (EURUSD,H1) 1object of type CMySQLTransaction left
2021.08.2001:20:24.248 Sync (EURUSD,H1) 1object of type CMySQLPacket left
2021.08.2001:20:24.248 Sync (EURUSD,H1) 1object of type CData left
2021.08.2001:20:24.248 Sync (EURUSD,H1) 1object of type CMySQLLoginRequest left
2021.08.2001:20:24.248 Sync (EURUSD,H1) 2 objects of type CMySQLPacketReader left
2021.08.2001:20:24.248 Sync (EURUSD,H1) 1024 bytes of leaked memory
I would really like to get the library working as I want to avoid the DLLs used by the other MySQL solutions.
ENUM_TRANSACTION_STATE res = Incoming(buf,rsp_len);
I get IN_PROGRESS and still no authorisation for the timeout. The data is correct exactly.
Here result I get ...IN_PROGRESS all the time. Where to dig?
Something went wrong after sending the server the login and password.
If the data was incorrect, there would be an error, not a timeout. So either the server didn't respond, or it responded with something the library doesn't understand.
Is there any way to see network packet capture? What version of MySQL server?
Something went wrong after sending the server the login and password.
If the data was incorrect, there would have been an error, not a timeout. But either the server didn't respond, or it responded with something the library didn't understand.
Is there any way to see network packet capture? What version of MySQL server?
And on a running instance (old mysql) I get this from time to time:
2021.09.09 16:57:18.818 prices_to_mysql array out of range in 'MySQLTransaction.mqh' (367,37)
Here on data[ptr]:
ENUM_TRANSACTION_STATE CMySQLTransaction::Incoming(uchar &data[], uint len)
{
int ptr=0; // index of the current byte in the data buffer
ENUM_TRANSACTION_STATE result=MYSQL_TRANSACTION_IN_PROGRESS; // result of processing the received datawhile(len>0)
{
if(m_packet.total_length==0)
{
//--- If the number of data in the packet is unknownwhile(m_rcv_len<4 && len>0)
{
m_hdr[m_rcv_len] = data[ptr];
m_rcv_len++;
ptr++;
len--;
}
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
I am just trying to use the MySQL part of the system, but I keep getting a "No database selected" error - even if I issue a "use `mytable`" command.
Do you have any thoughts on why that is happening?
I'm using the database name in the "USE" query.
I also noticed the following when removing the EA:
I would really like to get the library working as I want to avoid the DLLs used by the other MySQL solutions.
Not sure what it means:
Transaction Error: MYSQL_ERR_AUTHORIZATION_TIMEOUT
Here
ENUM_TRANSACTION_STATE res = Incoming(buf,rsp_len);
I get IN_PROGRESS and still no authorisation for the timeout. The data is correct exactly.
Here result I get ...IN_PROGRESS all the time. Where to dig?
I don't know what that means:
Transaction Error: MYSQL_ERR_AUTHORIZATION_TIMEOUT
Here it is
ENUM_TRANSACTION_STATE res = Incoming(buf,rsp_len);
I get IN_PROGRESS and still no authorisation for the timeout. The data is correct exactly.
Here result I get ...IN_PROGRESS all the time. Where to dig?
Something went wrong after sending the server the login and password.
If the data was incorrect, there would be an error, not a timeout. So either the server didn't respond, or it responded with something the library doesn't understand.
Is there any way to see network packet capture? What version of MySQL server?
Something went wrong after sending the server the login and password.
If the data was incorrect, there would have been an error, not a timeout. But either the server didn't respond, or it responded with something the library didn't understand.
Is there any way to see network packet capture? What version of MySQL server?
Unfortunately, without that it will be hard to determine the cause.
By the way, everything worked on mysql 5.7. It doesn't work on 8.0.
And on a running instance (old mysql) I get this from time to time:
Here on data[ptr]: