Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Data in row trigger batch

Posted on 2014-01-11
2
Medium Priority
?
316 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

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Containers like Docker and Rocket are getting more popular every day. In my conversations with customers, they consistently ask what containers are and how they can use them in their environment. If you’re as curious as most people, read on. . .
In this blog post, we’ll look at how ClickHouse performs in a general analytical workload using the star schema benchmark test.
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…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

916 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