develooper Front page | perl.dbi.users | Postings from March 2005

why DBI always appends @'localhost' to the username?

Thread Next
From:
20030910antispam
Date:
March 23, 2005 02:48
Subject:
why DBI always appends @'localhost' to the username?
Message ID:
200503231500.22205.20030910antispam@gmx.net
Hi list,

please CC to me, I'm not on the list.

I have a problem using DBI on FreeBSD.
The mysql server is on a remote host and I can login with my username 
manually.
However, the DBI module always appends a @'localhost' to the username, 
even when I specify the username to be 'user@my_hostname'. The result 
is, that the mysql server denies access. I don't have root permissions 
on that server and access for me is only allowed from 'my_hostname'.

How do I tell DBI to *not* append @'localhost' to the username?

Cheers
Arne
-- 
Arne Götje (高盛華) <20030910antispam@gmx.net> 
(Spam catcher.  Address might change in future!)
PGP/GnuPG key: 1024D/685D1E8C
Fingerprint: 2056 F6B7 DEA8 B478 311F  1C34 6E9F D06E 685D 1E8C
Key available at wwwkeys.pgp.net.   Encrypted e-mail preferred.


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About