Chris, It appears your missing the 'host' in your connection
DBI:mysql:$UserID:localhost",....... >>On Fri, 1 Feb 2002 12:39:31 -0800 (PST), Chris Petersen <[EMAIL PROTECTED]> >wrote: >>I did. it dies with "unknown error" - hence my confusion. >> >>and for those who didn't catch it, the userid and database name are >>identical (hence the double usage of $UserID in the connect parameters).. >> >>-Chris >> >>On Fri, 1 Feb 2002, Colin Faber wrote: >> >>> To: Chris Petersen <[EMAIL PROTECTED]> >>> From: Colin Faber <[EMAIL PROTECTED]> >>> Cc: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> >>> Subject: Re: setup/DBI issues... >>> Date: Fri, 01 Feb 2002 13:16:49 -0700 >>> >>> A little more information would be helpful, Such as pasting the exact >>> error here. >>> >>> Chris Petersen wrote: >>> > >>> > ok, after several months away from working with mysql, I figured I should >>> > get back into things.. anyway, the server is up and running, and I can >>> > access it with the mysql client, but I get an "unknown" error whenever I >>> > try to connect to it via perl DBI... >>> > >>> > I'm using: >>> > >>> > DBI->connect("DBI:mysql:$UserID", $UserID, $DBPass); >>> > >>> > This works on other servers, and is not limited to one single script, so I >>> > know it's a config issue on my part.. any help would be greatly >>> > appreciated. >>> > >>> > -Chris Mike(mickalo)Blezien =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Thunder Rain Internet Publishing Providing Internet Solutions that work! http://www.thunder-rain.com Tel: 1(225)686-2002 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php