SunQuest
           Scripts
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb Site ManagementScripts

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today!
  #1  
Old March 2nd, 2004, 05:38 PM
ayrin ayrin is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2003
Posts: 7 ayrin User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation 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

Reply With Quote
  #2  
Old March 2nd, 2004, 08:52 PM
munkfish's Avatar
munkfish munkfish is offline
funky munky
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jul 2001
Location: UK
Posts: 1,446 munkfish User rank is Corporal (100 - 500 Reputation Level)munkfish User rank is Corporal (100 - 500 Reputation Level)munkfish User rank is Corporal (100 - 500 Reputation Level)munkfish User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 2 Days 18 h 33 m
Reputation Power: 10
Yes.

Reply With Quote
  #3  
Old March 3rd, 2004, 07:10 AM
ayrin ayrin is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2003
Posts: 7 ayrin User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Quote:
Originally Posted by munkfish
Yes.


Then how?

Reply With Quote
  #4  
Old March 4th, 2004, 06:20 AM
munkfish's Avatar
munkfish munkfish is offline
funky munky
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jul 2001
Location: UK
Posts: 1,446 munkfish User rank is Corporal (100 - 500 Reputation Level)munkfish User rank is Corporal (100 - 500 Reputation Level)munkfish User rank is Corporal (100 - 500 Reputation Level)munkfish User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 2 Days 18 h 33 m
Reputation Power: 10
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.

Reply With Quote
  #5  
Old March 7th, 2004, 02:34 PM
Saeed al-Sahaf Saeed al-Sahaf is offline
Banned
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Location: Seattle-Tacoma, Washington USA
Posts: 81 Saeed al-Sahaf User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 29 sec
Reputation Power: 0
Quote:
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?"

Reply With Quote
  #6  
Old March 8th, 2004, 06:13 PM
mttatkns mttatkns is offline
Got source?
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Mar 2003
Location: Laguna Niguel, California, USA
Posts: 2,332 mttatkns User rank is Private First Class (20 - 50 Reputation Level)mttatkns User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8

Reply With Quote
  #7  
Old March 10th, 2004, 10:22 AM
munkfish's Avatar
munkfish munkfish is offline
funky munky
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jul 2001
Location: UK
Posts: 1,446 munkfish User rank is Corporal (100 - 500 Reputation Level)munkfish User rank is Corporal (100 - 500 Reputation Level)munkfish User rank is Corporal (100 - 500 Reputation Level)munkfish User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 2 Days 18 h 33 m
Reputation Power: 10
lol finky minky, nice one :P

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb Site ManagementScripts > shell script to insert record into the database


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway