Rajen! you did not answer this portion of my
question ???
....
Also when i try to insert this query in mysql
database it gives me syntex error at "insert....' even when i replace the " with
' it gives the error at ; then. Then i insert ' ' value in create_proc field. Is
it correct way.. if not what is correct syntax for its value.. Please help me I
am totally struct in these errors since last two /three days.
insert into
ldap_oc_mappings
(id,name,keytbl,keycol,create_proc,delete_proc,expect_return)
values (1,'inetOrgPerson','persons','id',"insert into persons (name) values ('');\n select last_insert_id();",NULL,0); Also what is the purpose
of 'insert into persons...' value of create_proc ...
Please help
me... ----- Original Message -----
From: sajida kalsoom
Sent: Saturday, August 04, 2001 1:52 PM
Subject: Re: problem with back-sql Hi Rajen!
I did what you said means run the slapd -d 0
.. well it runs with no error but when i try to connect with ldap server
it says 'unable to connect with ldap server' then i try the nestat
command and check the status of ldap server using netstat command it shows BOUND
instead of listening
Local
Address Remote
Address Swind Send-Q Rwind Recv-Q
State
-------------------- -------------------- ----- ------ ----- ------ ------- *.ldap
*.*
0
0
0
0 BOUND
when i try slapd with ldbm instead of back-sql ..
netstat -a shows the status of LISTEN means server running well.
Local Address Remote Address Swind Send-Q Rwind Recv-Q State -------------------- -------------------- ----- ------ ----- ------ ------- *.ldap
*.*
0 0
0 0 LISTEN
Also when i try to insert this query in mysql
database it gives me syntex error at "insert....' even when i replace the " with
' it gives the error at ; then. Then i insert ' ' value in create_proc field. Is
it correct way.. if not what is correct syntax for its value.. Please help me I
am totally struct in these errors since last two /three days.
insert into
ldap_oc_mappings
(id,name,keytbl,keycol,create_proc,delete_proc,expect_return)
values (1,'inetOrgPerson','persons','id',"insert into persons (name) values ('');\n select last_insert_id();",NULL,0);
|