[freetds] changing database- newbie question

Bort, Paul pbort at tmwsystems.com
Wed Jul 21 15:38:55 EDT 2004


I never did get the configuration for this right, so I forced it. All of my
Perl scripts that use FreeTDS start with this:

  $dbihandle->do( "use $dbname;" );

It's probably not the right way, but it works.



> -----Original Message-----
> From: Nicki Handy [mailto:nhandy at assumption.edu]
> Sent: Wednesday, July 21, 2004 3:26 PM
> To: freetds at lists.ibiblio.org
> Subject: [freetds] changing database- newbie question
> 
> 
> Hi- I've got everything running - dbd, dbi for sybase etc. 
> But I know along
> the way I set the database somewhere and I can't remember 
> where I did it. I
> tried to just edit the odbc.ini file to the database I want 
> to be hitting
> but that's not working- still hitting the old one. I'm 
> thinking during the
> dbi installation I set the database and user name and 
> password and I'm not
> sure what it does with that info but where ever it goes I 
> need to change it.
> Any ideas?
> Thanks so much,
> Nicki
> 
> 
> _______________________________________________
> FreeTDS mailing list
> FreeTDS at lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/freetds
> 



More information about the FreeTDS mailing list