The following directives work fine with Embperl 1.2.0

>PerlSetEnv EMBPERL_SESSION_ARGS
"DataSource=dbi:mysql:database=www_sessions;host=dev2-sparc UserName=www
Password=secret"

>PerlSetEnv EMBPERL_SESSION_ARGS
"DataSource=dbi:mysql:database=www_sessions;host=localhost UserName=www
Password=secret"


But these one cause a permanent fatal error.

>PerlSetEnv EMBPERL_SESSION_ARGS
"DataSource=dbi:mysql:database=www_sessions;host=dev2-sparc.dev.fth.net
UserName=www Password=secret"

>PerlSetEnv EMBPERL_SESSION_ARGS
"DataSource=dbi:mysql:database=www_sessions;host=193.252.66.1 UserName=www
Password=secret"


>[6431]ERR: 24: Line 13: Error in Perl code: DBI->connect failed: Access
denied for user: 'www@dev2-sparc' (Using password: YES) at
>/usr/local/lib/perl5/site_perl/5.005/Apache/Session/DBIStore.pm line 117
>
>Apache/1.3.9 (Unix) mod_perl/1.21 HTML::Embperl 1.2.0 [Thu Jan 20 12:17:42
2000]
>
>HTTP/1.1 500 Internal Server Error Date: Thu, 20 Jan 2000 11:17:41 GMT
Server: Apache/1.3.9 (Unix) mod_perl/1.21 Connection: close

Note that the two parameters differ only by the target hostname...
and that the sql server is local.

Could this be a bug in the parameter parser ?

Regards.

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Jean-Philippe FAUVELLE
<[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
Responsable du Pole de Developpement Unix/Web
Departement Developpement Applicatif
France Telecom Hosting
40 rue Gabriel Crie, 92245 Malakoff Cedex, France
[http://www.fth.net/] [+33 (0) 1 46 12 67 89]
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

Reply via email to