Dear my friends... I want to develop a database application with qt and MySQL. I begin from a very simple application, only selecting (query : select * from book) a table. Compiling succeeded. But if I executed the compiled program, I found this error message: " Error occurred while accessing the database ". I have made the connection successfully with "Project << Database connection". And no problem while I am trying to "Connect". Please tell me where my mistake. Thank you very much in advance. For detail information, here is what I've done as below: prabu@susefujitsu:/usr/lib/qt3/bin> ./qmake -o /home/prabu/arsip/coba-2x/qt/2/Makefile /home/prabu/arsip/coba-2x/qt/2/hello.pro prabu@susefujitsu:~/arsip/coba-2x/qt/2> make /usr/lib/qt3/bin/uic depan.ui -o .ui/depan.h g++ -c -pipe -O2 -march=i586 -mcpu=i686 -fmessage-length=0 -fPIC -DNO_DEBUG -Wall -W -O2 -march=i586 -mcpu=i686 -fmessage-length=0 -fPIC -DNO_DEBUG -DQT_NO_DEBUG -I/usr/lib/qt3/mkspecs/default -I. -I/usr/include -I/usr/lib/qt3/include -I.ui/ -I.moc/ -o .obj/main.o main.cpp /usr/lib/qt3/bin/uic depan.ui -i depan.h -o .ui/depan.cpp g++ -c -pipe -O2 -march=i586 -mcpu=i686 -fmessage-length=0 -fPIC -DNO_DEBUG -Wall -W -O2 -march=i586 -mcpu=i686 -fmessage-length=0 -fPIC -DNO_DEBUG -DQT_NO_DEBUG -I/usr/lib/qt3/mkspecs/default -I. -I/usr/include -I/usr/lib/qt3/include -I.ui/ -I.moc/ -o .obj/depan.o .ui/depan.cpp /usr/lib/qt3/bin/moc .ui/depan.h -o .moc/moc_depan.cpp g++ -c -pipe -O2 -march=i586 -mcpu=i686 -fmessage-length=0 -fPIC -DNO_DEBUG -Wall -W -O2 -march=i586 -mcpu=i686 -fmessage-length=0 -fPIC -DNO_DEBUG -DQT_NO_DEBUG -I/usr/lib/qt3/mkspecs/default -I. -I/usr/include -I/usr/lib/qt3/include -I.ui/ -I.moc/ -o .obj/moc_depan.o .moc/moc_depan.cpp g++ -o hello .obj/main.o .obj/depan.o .obj/moc_depan.o -L/usr/lib/ -L/usr/lib/qt3/lib/ -L/usr/X11R6/lib/ -lqt -lXext -lX11 -lm prabu@susefujitsu:~/arsip/coba-2x/qt/2> ./hello QSqlCursor::setName: unable to build record, does 'author' exist? QSqlRecord::field: index out of range: 0 QSqlRecord::position: unable to find field forename QSqlRecord::field: index out of range: -1 QSqlRecord::field: index out of range: 1 QSqlRecord::position: unable to find field surname QSqlRecord::field: index out of range: -1 prabu@susefujitsu:~/arsip/coba-2x/qt/2> __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/