in reply to Re^2: Perl cant connect to null mysql table
in thread Perl cant connect to null mysql table

Maybe you should remove the CGI part then, and debug the SQL part alone. I don't see anything obvious why your code should fail or enter a long loop. But as you haven't shown a self-contained example, it's hard to tell.

  • Comment on Re^3: Perl cant connect to null mysql table

Replies are listed 'Best First'.
Re^4: Perl cant connect to null mysql table
by cs.amateur (Initiate) on Jun 06, 2009 at 17:09 UTC
    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.

    Thanks for reply me :D

      You could also try to reduce your program until it has only 20 lines or so but still has the "endless looping" problem, and then post it here. Preferrably, you should start with removing the CGI part, as running a Perl script from the command line is more convenient. We can't help you much without seeing your code.