★ wanayoo — archive 1999 http://www.devshed.com/Talk/Forums/Forum4/HTML/000473.htmlNouvelle recherche | Portail wanayoo
DevShed Menu
* DevShed Home
* Developer News
* DevShed Brain Dump




UBBFriend: Email This Page to Someone!
  DevShed Discussion Forums
  MySQL
  daemon?

Post New Topic  Post A Reply
profile | register | preferences | faq | search

next newest topic | next oldest topic
Author Topic:   daemon?
fcatz
Member
posted May 18, 2000 01:43 AM     Click Here to See the Profile for fcatz   Click Here to Email fcatz     Edit/Delete Message Reply w/Quote
Im doing a webpage with MySQL through the c API and i was wondering if it would be a good idea to write a daemon to avoid all the connecting/disconnecting every time the database is "queried". The daemon would simply be called through whatever cgi program i write to query the database. Anyone has any thought on that or better and simpler ideas? (note that im using c and not perl here)
Thanks!

rycamor
Member
posted May 18, 2000 08:16 AM     Click Here to See the Profile for rycamor   Click Here to Email rycamor     Edit/Delete Message Reply w/Quote
Go to Freshmeat.net and see SQL Relay 0.8
http://freshmeat.net/news/2000/05/16/958463251.html

fcatz
Member
posted May 19, 2000 12:50 AM     Click Here to See the Profile for fcatz   Click Here to Email fcatz     Edit/Delete Message Reply w/Quote
Thanks! Thats exactly what i was looking for an a bit more. It'll give me something to play with for a while i think

nicholak
Junior Member
posted May 19, 2000 01:59 PM     Click Here to See the Profile for nicholak   Click Here to Email nicholak     Edit/Delete Message Reply w/Quote
Or AFAIK you could write a wepapplication in php with phplib with a session and a user. Then you can start and stop a persistent mysql session on logon, and run whatever on the server as to your own security specifications.

Untried - never touched c, but a starting point would a search in the manual found under
http://www.php.net

and of phplib
http://phplib.netuse.de

Let me know of security issues if big ;-)

nicholas

[This message has been edited by nicholak (edited May 19, 2000).]

All times are MST (US)

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic
Post New Topic  Post A Reply
Hop to:

Contact Us | DevShed.com

Copyright © 1997-2000 ngenuity. All rights reserved.

Powered by: Ultimate Bulletin Board, Version 5.41a
© Infopop Corporation (formerly Madrona Park, Inc.), 1998 - 1999.