Dim s As String = "CALL `ehome`.`eh_insert_msg_from_mqtt`('aaaa', 'topic', 'msg','cmd');"
mysql_db.ExecuteASync(s)
It WORKS!!!!
B4X:Dim s As String = "CALL `ehome`.`eh_insert_msg_from_mqtt`('aaaa', 'topic', 'msg','cmd');" mysql_db.ExecuteASync(s)
DELIMITER //
CREATE PROCEDURE CountCountry(
IN `Countries` VARCHAR(20),
OUT `Total` INT)
BEGIN
SELECT COUNT(*)
INTO `Total`
FROM `Country`
WHERE `Name`
LIKE CONCAT('%', Countries ,'%');
END //
DELIMITER ;
'Code in B4A
MySQL.ExecuteASync("Call CountCountry('unit', @Total)")
MySQL.QueryASync2("SELECT @Total AS `Countries`")
I understand that this MSMariaDB is a lightweight lib.
Can I use this same MSMariaDB lib to connect to a MySQL Database ?
Anser
No some do permits external access to their server like this server. www.freemysqlhosting.net/Additional: Hoster which provide a free MySQL Database usually dont allow access from "outside" to this database.
So msMySql AND msMariaDB will not work on such hostings.
i know. That´s why i said USUALLYNo some do permits external access
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?