in reply to DBI connection through CGI

It's gonna be the username/password permissions. Log in from command line as root and:
use mysql; SELECT User,Host FROM user;
Now look at results. Is there a user 'ID' on Host 'localhost'? Or is it user 'ID' with host 'localhost.localdomain'?

That's my bet. Change Host to % for user 'ID'. Does it work now? If so, amend Host to relevant 'localhost.localdomain' to suit (don't leave it as % unless you're happy with outside connections being allowed ! ;-)

.02

cLive ;-)

--
seek(JOB,$$LA,0);