I have the access database close.

On 28 sep, 17:26, RichardAtHome <[EMAIL PROTECTED]> wrote:
> Do you have the Access database open in Access when you try to connect
> to it through PHP?
>
> Been a while since I've done anything with Access but I do remember
> that used to be a problem.
>
> Close down access, then run your cake app.
>
> Also, just to save yourself some headaches down the line: Access gets
> very ropey with more than a couple of concurrent users connected to
> it.
>
> On Sep 28, 10:07 am, kaki <[EMAIL PROTECTED]> wrote:
>
> > Hi, I´m trying to connect to a MS Access Database , i've written this
> > in my 'database.php'
>
> >    var $default = array('driver'   => 'adodb',
> >                         'connect'  => 'access',
> >                         'host'     => 'Driver={Microsoft Access
> > Driver(*.mdb)};Dbq=D:\bd1.mdb;  ',
> >                         'login'    => 'root',
> >                         'password' => '',
> >                         'database' => 'origen2',
> >                         'prefix'   => '');
>
> > but appears next error:
>
> > Your database configuration file is present.
>
> > Warning: odbc_connect() [function.odbc-connect]: SQL error: [Microsoft]
> > [Administrador de controladores ODBC] No se encuentra el nombre del
> > origen de datos y no se especificó ningún controlador predeterminado,
> > SQL state IM002 in SQLConnect in D:\wamp\www\cake\app\config\drivers
> > \adodb-odbc.inc.php on line 60
>
> > Cake is not able to connect to the database.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to