Re: Access ODBC database w/o User/Password

From: Date: Tue, 10 Oct 2000 12:38:48 +0000
Subject: Re: Access ODBC database w/o User/Password
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-19323@lists.php.net to get a copy of this message
Try replacing the nulls with "" Regards Andy Woolley M.D. www.databasewatch.com ----- Original Message ----- From: "Felipe G. Coury" <macoury@uol.com.br> To: "PHP list" <php-general@lists.php.net> Sent: Tuesday, October 10, 2000 2:33 PM Subject: [PHP] Access ODBC database w/o User/Password > Hi, > > How can I access an (Access) database without user and password? > > I am trying: > > $conn = odbc_connect( "DBQ=c:\clientes ativos\guia > campinas\campinas\access\guiacampinas.mdb;Driver={Microsoft Access Driver > (*.mdb)}", null, null ); > > But it complains: > > Warning: SQL error: [Microsoft][ODBC Driver Manager] Comprimento de buffer > ou de seqüência de caracteres inválido, SQL state S1090 in SQLConnect in > c:\clientes ativos\php\test.php3 on line 17 > > That translated seems to be Invalid character sequence or buffer size. > > Any hints? > > Felipe G. Coury > Gerente de Desenvolvimento > Creation Internet Business > http://www.creation.com.br > > -------------------------------------------- > Visite o GuiaBrasil.Net: > http://www.guiabrasil.net > -------------------------------------------- > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.general (#19323) next »