Are you running this from the command line or a browser ?
- Browser : run it from the command line. If you are calling <code lang="perl">die()</code> before you print a header, the prowser would print nothing.
- Command line : It appears that there is still something wrong with a path setup somewhere, and the mysql.so file is not getting loaded. It usually will not go into a black hole like that (it usually prints a cannot load message like make test did), but i have seen DBD::Sybase do this on rare occasion. So, back to the path issue from your other posts
i had a memory leak once, and it ruined my favorite shirt. | [reply] [d/l] [select] |
Just to Say that it is now fixed!
If anyone is having problems installing mysql DDBD on Suse use Msql-Mysql module instead of the DBDmysdql module. Its quite tricky getting DBD::mysql to install succesfully on Suse.
Install the Msql-Mysql module by performing a 'make install && make test'.
Thanks to all who helped.
costas
| [reply] |
eeer, looking at the code the guy posted I think it's clear he is printing a header.
pay attention children.
| [reply] |
even with FatalsToBrowser, it would not print, i don't think, the "unable to load mysql.so" message. That would go to the server error log. So, i still suggest a command line run if thats not being used.
/me thinks the "pay attention children" was a bit unnessasary.
i had a memory leak once, and it ruined my favorite shirt.
| [reply] [d/l] |