Have finally got the database working and now the program saves all tweets into the database with the tweet id, tweet text, user id and screename, language, time created, favourite and retweet count and finally the hashtags used.