If it complains that it can't find mysql.h, play with: OPTIM = -g -O -I/usr/include/mysql After that compiles, and if fails to link, play with: LIBS = -lm -lnsl -lresolv -lcrypt -L/usr/lib/mysql There is a prototype SQL readme available via: http://code.google.com/p/tinymux/issues/detail?id=47 Brazil