SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Enthusiast aeporia's Avatar
    Join Date
    Aug 2003
    Location
    Newfield, NY
    Posts
    27
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    can MySQL execute Perl?

    I've been looking all over for an answer to this question -- hopefully someone here can help.

    Is it possible to use a MySQL trigger or sp to cause execution of an external Perl (or other) script? What I would like to do is make an external script run upon change of a particular field, but I can't find sufficient reference to sps or triggers on MySQL.

  2. #2
    Is Still Alive silver trophybronze trophy RetroNetro's Avatar
    Join Date
    Jul 2003
    Location
    Texas
    Posts
    6,883
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Hello

    I really don't know anything about either, but I found this link, maybe it will lead to help.

    Johnny

  3. #3
    SQL Consultant gold trophysilver trophybronze trophy
    r937's Avatar
    Join Date
    Jul 2002
    Location
    Toronto, Canada
    Posts
    39,350
    Mentioned
    63 Post(s)
    Tagged
    3 Thread(s)
    stored procedures are a new feature in version 5

    however, i don't see anything at mysql.com that suggests you can call an external routine
    rudy.ca | @rudydotca
    Buy my SitePoint book: Simply SQL
    "giving out my real stuffs"

  4. #4
    SitePoint Enthusiast aeporia's Avatar
    Join Date
    Aug 2003
    Location
    Newfield, NY
    Posts
    27
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I've decided to abandon this approach, as much as it pains me to do so... I guess I'll need to spawn new processes from within my PHP instead.

    For what it's worth, I still think this would be a good feature for a DB to implement.

  5. #5
    SitePoint Addict phpster's Avatar
    Join Date
    Feb 2005
    Location
    Toronto, Canada
    Posts
    374
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Some dbs have it (sql server) and some don't. It can be considered a security risk
    phpster

    I wish my computer would do what I want it to.
    Not what I tell it to do...


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •