in reply to Re: Re: DBD::mysql
in thread DBD::mysql

Are you running this from the command line or a browser ?

  1. 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.
  2. 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.

Replies are listed 'Best First'.
Re: Re: Re: Re: DBD::mysql
by costas (Scribe) on Oct 18, 2001 at 13:54 UTC
    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
Re: Re: Re: Re: DBD::mysql
by kostis (Initiate) on Oct 17, 2001 at 16:37 UTC
    eeer, looking at the code the guy posted I think it's clear he is printing a header. pay attention children.
      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.