[prev in list] [next in list] [prev in thread] [next in thread]
List: mason
Subject: Re: [Mason] Apache::Session::MySQL error
From: Adam Stubbs <mason () advantagecommunication ! com>
Date: 2000-09-22 4:34:00
[Download RAW message or body]
The failure here
>
>ERROR:
>[Tue Sep 19 16:56:25 2000] [error] Can't connect( HASH(0x8605188)), no
>database driver specified and DBI_DSN env var not set at
>/usr/lib/perl5/site_perl/Apache/Session/Lock/MySQL.pm line 36
is because you are missing the a database reference for the locking
mechanism of Apache::Session... try this
tie %session, 'Apache::Session::MySQL', $sess, {
DataSource => 'dbi:mysql:sessions',
UserName => 'test',
Password => 'test',
LockDataSource => 'dbi:mysq:sessions',
LockUserName => 'test',
LockPassword => 'test'
};
Adam Stubbs
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
http://lists.sourceforge.net/mailman/listinfo/mason-users
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic