Perl scripts cannot connect to MySQL via Unix socket

Technote (FAQ)


Question

Why can't my Perl script connect to the Lotus Foundations MySQL database?

Answer

The default connection method for localhost MySQL connections is to use a Unix socket. The Perl installation included with Lotus Foundations is unable to connect to MySQL using this method. To work around this limitation, use 127.0.0.1 instead of localhost when specifying the MySQL connection details.

Cross reference information
Segment Product Component Platform Version Edition
Messaging Applications Lotus End of Support Products Lotus Foundations Branch Office

Historical Number

6085

Rate this page:

(0 users)Average rating

Document information


More support for:

Lotus End of Support Products
Lotus Foundations Start

Software version:

1.0, 1.1, 1.2

Operating system(s):

Linux

Reference #:

1388139

Modified date:

2010-05-28

Translate my page

Machine Translation

Content navigation