?
Solved

Data in row trigger batch

Posted on 2014-01-11
2
Medium Priority
?
321 Views
Last Modified: 2014-03-03
Hi all,

I am looking to see if this is possible.

When a row is populated with data (typically the first row), I want to then automatically trigger a batch file to start.

Is this possible?

I'm using phpmysql so don't think that it's possible, however I can use MySQL from Microsoft as I have a licence. Although, not fully sure what version I should be using.

Thanks in advance
0
Comment
Question by:oconnork00
2 Comments
 
LVL 13

Accepted Solution

by:
duncanb7 earned 2000 total points
ID: 39774646
Could you write php code to access your database ? and then use
exec() function  in your php code  to trigger your batch file running on window
when the rows data is updated or accessed.
There is apache server for  window  version such as XAMPP  that you can run
php programming. If not, I think it is hard to do that on just mysql or phpmyadmin
and only mysql running on batch mode  with system command
to trigger shell command , for example, mysql>system ls that will list linux directory

Hope understand your question completely, if not , please pt it out

Duncan
0
 
LVL 26

Expert Comment

by:Tomas Helgi Johannsson
ID: 39778654
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

When table data gets too large to manage or queries take too long to execute the solution is often to buy bigger hardware or assign more CPUs and memory resources to the machine to solve the problem. However, the best, cheapest and most effective so…
Article by: Tammy
MySQLTuner is a script written in Perl that allows you to review a MySQL installation quickly and make adjustments to increase performance and stability. The current configuration variables and status data is retrieved and presented in a brief forma…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…

569 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question