Whats wrong with this ? put revOpenDatabase("MySQL","localHost :8889","Anagram",root,root) > unknow MySQL server host "localHost : 8889" (1) this is the setting of the database manager, and "connected" is true