Hi,
I managed to get Embperls session management to work with FileStore.
But with DBIStore I'm not sucessfull. My MySQL-database is set correct.
The database name is session, the table with the required fields has the
name sessions.
The permissions are set correctly in database mysql, table user.
The MySQL-database server is not on the same host as the web server with
mod_perl and embperl. Therefore my DSN is
DBI:mysql:databasename:hostname.
Here are my configuration commands in httpd.conf:
PerlSetEnv EMBPERL_SESSION_CLASSES "DBIStore NullLocker"
PerlSetEnv EMBPERL_SESSION_ARGS "DataSource=DBI:mysql:session:rds586
UserName=emperl Password=embperl"
The attempt to connect with the MySQL database fails permanently and I
have no idea why:
Error in Perl code: DBI->connect failed: Access denied for user:
'emperl@rds14' (Using password: YES) at
C:/Perl/site/5.6.0/lib/Apache/Session/DBIStore.pm line 117.
With a correctly set ODBC-driver to my MySQL-database the connection
also fails
(PerlSetEnv EMBPERL_SESSION_ARGS "DataSource=DBI:ODBC:session
UserName=emperl Password=embperl")
The connection to my MySQL-database server is normaly and in other
frameworks no problem for me.
Where is my mistake?
Thanks
Rolf
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]