Hi, there is a example in the tntnet sources in the directory sdk/demos/newsdb.
If you need a easier example, I can provide one. Just ask. When using tntdb it does not make sense to ask for a mysql example. The example will work with sqlite3, postgresql or oracle depending on the dburl as long as you do not use any specific sql. I do not recomend mysql anyway. It is the worst choice. The only reason, why you should use mysql is because many others do the same mistake. You probably have a missing symbol. Did you liked your shared library with - ltntdb? If there are symbols missing when linking a shared library, the linker does not complain but the shared library just can't be loaded. At least under linux. That may be your problem Tommi Am Montag, November 22, 2010, 12:46:48 schrieb DEXTER MCCONNELL: > Hi All, > I have installed tntnet 2.0 & tntnetdb > I have written a file to connect to local db and print its results > > I do not receive any errors while compiling the script > > I am able to run the script using tntnet tntnet.conf > > When I point my browser to http://localhost:8000/ I get an error 404 not > found, tntnet also echo's the same 404 testdb not found > > Can anyone send me sample working code for myql db ? > > Dexter ------------------------------------------------------------------------------ Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev _______________________________________________ Tntnet-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tntnet-general
