Gossamer Forum
Home : Products : DBMan SQL : Discussion :

trying to connect to database ... ok

Quote Reply
trying to connect to database ... ok
Hi,

i use a MySQL v3.23.41 and i installed DBMan SQL 1.02.

I've got the following messages when i run ../../nph-setup.cgi

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 ... ok.
checking for users table ... can't find
dropping and recreating ...

The connection seems to point that the connection to database is correct. Therefore, i can assign as i want @db_connect var.

@db_connect = ("DBI:mysql:ad:pa", "fr", "ddj");
or
@db_connect = ("DBI:mysql:adm:psq", "qr", "aj");

the message is always the same. The connection to the database seems to be correct.

Only if i use an inccorect DBI name, the message is like that :

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. Can't connect(DBIIII:mysql:adm:pax fr 2vj), no database driver specified and DBI_DSN env var not set at /maj-streaming/web/france3/cgi-bin/nph-setup.cgi line 83

thank's for your help
Quote Reply
Re: [LTO] trying to connect to database ... ok In reply to
Sorry I don't understand what you are saying.

Everything you said is normal...what is the problem you are encountering?