Re: LDAP and MySQL - No database selected

2007-05-25 Thread Gabriel Stein
Yes. On same directory with structural *.sql you have data *.sql scripts. You can import this sql files. Cheers! On 5/25/07, Ace [EMAIL PROTECTED] wrote: I could get LDAP started with mysql. One query - === [EMAIL PROTECTED] libexec]#

Re: LDAP and MySQL - No database selected

2007-05-25 Thread Ace
I could get LDAP started with mysql. One query - === [EMAIL PROTECTED] libexec]# ldapsearch -x -b '' -s base '(objectclass=*)' namingContexts* # extended LDIF # # LDAPv3 # base with scope baseObject # filter: (objectclass=*) # requesting:

LDAP and MySQL - No database selected

2007-05-23 Thread Ace
Hi Friends, I am trying to configure LDAP with MySQL 5.0 as backend. I am using Connector/ODBC 3.51 and LDAP 2.3.32 built from sources. While starting slapd I get following error - === backsql_load_schema_map(): oc_query SELECT

Re: LDAP and MySQL - No database selected

2007-05-23 Thread Gabriel Stein
What´s your result for odbctest ou iodbctest? This command shows your ODBC connection? And more: you set your slapd.conf with your ODBC Connection Name, not your MySQL dbname. For example, if you have a database with name ldap and setup a ODBC connection with name test, you need set test on

Re: LDAP and MySQL - No database selected

2007-05-23 Thread Ace
The funny part here, my odbc test result - == 1: SQLDriverConnect = [MySQL][ODBC 3.51 Driver]Could not determine the driver name; could not lookup setup library. DSN=(test) (0) SQLSTATE=HY000 1: ODBC_Connect = [MySQL][ODBC 3.51 Driver]Could not