Gossamer Forum
Home : Products : DBMan SQL : Discussion :

Re: Error when installing DBMan-Sql

Quote Reply
Re: Error when installing DBMan-Sql In reply to
In Reply To:
I get the following error when trying to run the nph-setup.cgi for the first time:

DBMan SQL Setup
Let's check your setup and create the neccessary tables.

CHECKING Setup:
loading your db.cfg file ... ok.
checking perl 5.004 or better ... ok
checking for DBI module ... ok
trying to connect to database ... Failed. Unable to connect to database. Reason: Can't
connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111) at
nph-setup.cgi line 83.
Check in your cfg file for these lines and change what's in blue to match your setup:

# The second and third parameters are username/password if needed.
@db_connect = ("DBI:mysql:database name name:domain name", "mysql usename", "mysql password");

Hope this helps.



easy does it
Subject Author Views Date
Thread Error when installing DBMan-Sql donm 4870 Oct 18, 2000, 7:27 PM
Thread Re: Error when installing DBMan-Sql
Bearwithme 4779 Oct 19, 2000, 4:21 AM
Thread Re: Error when installing DBMan-Sql
donm 4778 Oct 19, 2000, 4:47 AM
Thread Re: Error when installing DBMan-Sql
Bearwithme 4789 Oct 19, 2000, 9:23 AM
Thread Re: Error when installing DBMan-Sql
donm 4772 Oct 19, 2000, 9:54 AM
Thread Re: Error when installing DBMan-Sql
Bearwithme 4776 Oct 19, 2000, 10:58 AM
Thread Re: Error when installing DBMan-Sql
donm 4755 Oct 20, 2000, 5:36 AM
Post Re: Error when installing DBMan-Sql
web dog 4767 Oct 20, 2000, 6:34 AM
Post Re: Error when installing DBMan-Sql
Bearwithme 4744 Oct 20, 2000, 10:04 AM