On 01/11/12 21:54, Lawrence Bridger wrote: > Hello > > I have failed to get a response to the problem below from > '[email protected]'<mailto:'[email protected]'> > and wondered if anyone can help. > > I am trying to migrate from 1.5 to 2.5. 1.5 is linux based and the 2.5 is on > a Windows platform. I am updating a c program that writes data to a table. > When I try to run the program using the 2.5 version of the db, I get the > following error: > > Your user name and password are not defined. Ask your database administrator > to set up a Firebird login. > > I tried setting the environment variables ISC_USER and ISC_PASSWORD but this > didn't solve the problem. > > So I then supplied a user name and password in the database connection > statement and tried to recompile. I got the following warning: > > gpre: -user, -password and -charset switches require -manual > > But I don't want to use the -manual option because I want to work with > automatic transactions as I did with Firebird 1.5. > > Does anybody know a way around this?
Use RUNTIME clause in DATABASE operator and you will be not receive this warning. But what is specially strange - why can't you use ISC_USER and ISC_PASSWORD. Problem is that you've changed both FB version and OS. Can you try to reproduce your problem on 2.5 on linux? ------------------------------------------------------------------------------ RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel
