#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2003
    Posts
    7
    Rep Power
    0

    Question shell script to insert record into the database


    Hi,

    Does anybody here have an idea on how to insert a record in the database using a shell script?

    Any help for you will be greatly appreciated.

    Thanks.

    Ayrin
  2. #2
  3. funky munky
    Devshed Beginner (1000 - 1499 posts)

    Join Date
    Jul 2001
    Location
    UK
    Posts
    1,446
    Rep Power
    16
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2003
    Posts
    7
    Rep Power
    0
    Originally Posted by munkfish
    Yes.
    Then how?
  6. #4
  7. funky munky
    Devshed Beginner (1000 - 1499 posts)

    Join Date
    Jul 2001
    Location
    UK
    Posts
    1,446
    Rep Power
    16
    You asked if anyone had an idea how to insert a record into a db using a shell script, I answered yes - you didn't ask how you'd do it... if you expect anything other than a yes/no answer, you need to ask the right question first.

    Something like 'I'm trying to insert records into a MySQL database using Bourne Shell scripting - how can I do this?' is infinitely better than 'Does anybody here have an idea on how to insert a record in the database using a shell script?'. What would be even better would be if you included what code you already had or your ideas on how you might solve the problem.
  8. #5
  9. No Profile Picture
    Banned
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2004
    Location
    Seattle-Tacoma, Washington USA
    Posts
    81
    Rep Power
    0
    Originally Posted by munkfish
    You asked if anyone had an idea how to insert a record into a db using a shell script, I answered yes - you didn't ask how you'd do it... if you expect anything other than a yes/no answer, you need to ask the right question first.

    Something like 'I'm trying to insert records into a MySQL database using Bourne Shell scripting - how can I do this?' is infinitely better than 'Does anybody here have an idea on how to insert a record in the database using a shell script?'. What would be even better would be if you included what code you already had or your ideas on how you might solve the problem.
    Oh come on... You knew exactly what he was asking.

    Now then:

    "I'm trying to insert records into a MySQL database using Bourne Shell scripting - how can I do this?"
  10. #6
  11. No Profile Picture
    Got source?
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Mar 2003
    Location
    Laguna Niguel, California, USA
    Posts
    2,331
    Rep Power
    14
  12. #7
  13. funky munky
    Devshed Beginner (1000 - 1499 posts)

    Join Date
    Jul 2001
    Location
    UK
    Posts
    1,446
    Rep Power
    16
    lol finky minky, nice one :P
  14. #8
  15. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2010
    Posts
    1
    Rep Power
    0
    munkfish, I just had to make a quick BS profile and post what a fag you are. Don't be a part of a forum if you're going to be such a ****head. You can tell by your responses that your soul is dog **** and everything about you reads grade a prick. News flash bitch: You suck at life, you should quit.

IMN logo majestic logo threadwatch logo seochat tools logo