MySQL Forums
Forum List  »  Perl

Re: Need Help : DBI works with Perl but doesn't works with CGI
Posted by: Lee Krawczyk
Date: May 03, 2006 03:55PM

You may have to include some options in your connect string like where to find your my.cnf file or where your connect socket is located.

Something like this might work depending on what is in my.cnf:

dbi:mysql:test','root','subazini';mysql_client_found_rows=true;mysql_read_default_file=/etc/my.cnf

Lee

Options: ReplyQuote




Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.