Search found 6 matches

by Jknill
23.03.2006, 17:17
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: mssql login with domain user
Replies: 2
Views: 870

i have insert these in the properties but i get the same error

how must i set the user property "<Domain>\Username" or only "Username"

Jürgen
by Jknill
16.03.2006, 19:33
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: mssql login with domain user
Replies: 2
Views: 870

mssql login with domain user

hi

i need to connect a mssql (MSDE 2000 Server)
i use the mssql protocol from the ZConnection1 and enter the domain user and his password to the propertys but i get a error "login failed for user xxxx" afer i set connect to true.

Juergen
by Jknill
19.02.2006, 11:43
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: Resultset
Replies: 6
Views: 1313

Hi i have found the problem (i hope the fix is OK) function TZMySQLStatement.ExecuteQuery(SQL: string): IZResultSet; begin Result := nil; if FPlainDriver.ExecQuery(FHandle, PChar(SQL)) = 0 then begin DriverManager.LogMessage(lcExecute, FPlainDriver.GetProtocol, SQL); if FPlainDriver.GetStatus(FHandl...
by Jknill
19.02.2006, 10:19
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: Resultset
Replies: 6
Views: 1313

Hi

i have found a interesting thing

if i execute ( activate the DbConnection and set the active property of the Query) at the designtime i get the result!

but if i compile this code t get the error not resultset was created

Jürgen
by Jknill
19.02.2006, 09:51
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: Resultset
Replies: 6
Views: 1313

Hi thanks for the Answers zippo i have change my code but it do not change the result i get in this function "0" for the result function TZMySQL41PlainDriver.ExecQuery(Handle: PZMySQLConnect; const Query: PChar): Integer; begin Result := ZPlainMySql41.mysql_query(Handle, Query); end; thanks
by Jknill
18.02.2006, 16:40
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: Resultset
Replies: 6
Views: 1313

Resultset

hello i want to use ZeosDBO with mysql 4.1.x with the follow code DBConnection1.HostName:= EdtDBServerAddress.Text; DBConnection1.Port:=StrToInt(edtDBServerPort.text); DBConnection1.User:=EdtDBUser.Text; DBConnection1.Password:=edtDBPasswort.Text; DBConnection1.Catalog:='mysql-4.1'; DBConnection1.Co...