Yes, i dont understand too.
All of SQL query worked when i test them in phpmyadmin. And my page worked very well if the table in database have greater than two records!!!lol! My perl page look like "loop forever" if mysql tables dont have any record.
I have to insert two record into those tables, if not i cant continue my work.Maybe i must find another server and test them again.