![]() |
![]() |
sometimes MySQL is configured to place mysql.socket at /tmp/mysql.socket
and DBI looks for it at /var/lib/mysql/
that gives you the "cannot connecto to MySQL through socket"
in that case, create soft link at /var/lib/mysql.socket pointing to
/tmp/mysql.socket
the link returns a false to existance checking if the /tmp/mysql.socket
is not there, so it works :)
Hopes that this doesn't show up, but if it does... that's already solved
here :)
(Note... it this doesn't works check it is a permission problem on
the MySQL
by running the daemon with --skip-grant-tables)
Jerry O'Brien wrote:
I think you may be half correct. I think it was that I didn't have DBI, but
the only error I got was "premature end of script headers", and no error at
all from Interchange, so maybe this all-too-common error in installation
could be prevented with a test in makecat just after the clueless newbie
asks for SQL and doesn't have his/her DB driver module installed. I'm
installing DBI now - fingers crossed.Thanks for your patience and help.
Jerry O'Brien
-- Marcel Montes [marcel(at)multimake(dot)com] - Programmer "If our brain were so simple that we could understand it, we would be so stupid that we couldn't do so" -------------------------- EOF ----------------------------