Hi check for the libmysql in your windows directory or try later installing
the WAMP (windows apache mysql php) with a bundlde like xammp from apache friends
www.apachefriends.org/
Hi , the query looks too simple but, may be if you need just some fields from the tables , filter those fields that are required , create a index for your table.