MySQL service broker - mysql

MSSQL Service Broker: Is there a similar technology in MySQL?
If not, any suggest how to handle async task that can be achieved using Service Broker in MSSQL?
The client side platform is .NET.

I recommend taking a look at RabbitMQ. It's a standalone message queue server that implements a "broker" pattern that's extremely similar to SQL Server Service Broker. You can install it on Windows or any Linux. And there is a very decent .NET client library.

Related

MySQL Trigger to RabbitMQ Communication

I have an application on Sql Server that send change data to Target database using Sql Service Broker. I just capture the data from Trigger and push data into service broker Queue. Now I want to make compatible my application to MySql. Now the problem is how i achive exactly the same implementation in MySql because its not supported. If I use external Message Broker like RabbitMq how MySql Table Trigger directly communicate with RabbitMq.
Thanks in Advance
If you can use Kafka as an alternative to RabbitMQ there are some tutorials on how to accomplish a similar goal:
Using Kafka Connect
Using GCP services
Change data capture (CDC) is a term used to classify this pattern of reacting to data changes and then delivering those changes in real-time to a downstream process.

Proxying connection to MySQL without MySQL Proxy

MySQL Proxy sounds like the best option to proxy a connection to MySQL server in order to modify queries online except that it only supports scripts in Lua, AFAIK.
Is it possible to script MySQL Proxy behavior in languages other than Lua? Ideally, C, C++ or C#?
If not, how do I look through and amend the traffic between MySQL client and server (e.g., in C#) without fully implementing the MySQL client/server protocol?
Yes, it is possible to build mysql proxy in other languages.
Here are few reference implementations in java
https://github.com/MPjct/JMPjct
https://github.com/Flipkart/phantom-mysql-proxy
To check the traffic between Mysql client and server , you can print the following param.
Com_Query.loadFromPacket(packet).query

VB silverlight for windows phone remote databases

i am writing some applications for windows phone on VB
i want to connect on a remote database in order to exchange data
but i do not want to use WCF (Like this : WCF) http://studentguru.gr/b/dt008/archive/2010/12/02/querying-a-database-on-windows-phone-7-using-wcf.aspx
but i want to use a simple MySql
because i can easilly find some free hosts !
for WCF it is impossible to find and test that easy :)
so.... do you have any suggestions ?
You can't connect directly to a MySQL database on a remote server. If you don't use WCF as an intermediary you'll have to use something equivalent such as ODATA or some other web/REST service.

Using a MySQL database on Windows Phone 7?

I'm attempting to write a Windows Phone 7 application which needs to connect to a remote data source, in this case it's a MySQL database on a Linux server. I'm not able to move this over to MSSQL, nor to build any kind of windows-based solution (like a WCF web service on the server).
Is there a way for me to use my MySQL database from my Windows Phone 7 application? The MySQL assemblies don't seem to work on the phone. If not, what would the best solution for me to use this database from the phone?
You could build your self a service which would send you json or xml. this can easily be built using mono, python, Ruby, php or any technology that you are comfortable with.
You can build it in a restful manner where all you have to do is call urls in a HTTP GET to retreive data which you handle with the services.
and use the HTTP POST to submit changes to your service.
you can then from WP7 make calls to this service and consume the data.
WP7 does not support sockets at the moment. So your best bet is transfering your payloads over HTTP.
As I mentioned before, if you have access to the machines configuration. You could run Mono which isn't too far off of .Net in terms of language and functionality.
further more, from the phone you can use the Rx library to make these calls Async and keep your application responsive.

Mysql connectivity from POcket pc application using .netcf 2.0

We are developing an order taking system in PDA using C# in .netcf 2.0. So we are having mysql server as our back end. Is that the web service is the only way to connect mysql with PDA? Or is any other methods available..?
There is a .netcf connector on MySql web site available for download.
I recommend to use version 5.2.7 and not to forget to put "pooling=false" into the connection string, otherwise connection will fail with exception "MissingManifestResourceException" .
Connection string example:
"Persist Security Info=False;database=DATABASE_NAME;server=SERVER_IP_ADDRESS;user id=USERNAME_TO_LOGON;Password=PASSWORD;pooling=false"
I don't believe there is a Data Provider for MySQL in Compact Framework.
I recommend that you read the Mobile Application Architecture Guide, especially the Data Layer chapter to see what your options are.