Welcome Guest, Not a member yet? Register   Sign In
Connection to Access
#3

You have to use the odbc driver. Try for the database setting string like that with your DNS name created in you windows settings:

PHP Code:
$db['default'] = array(
        ...
    
'hostname' => 'Driver={Microsoft Access Driver (*.mdb)};DBQ=C:\path\to\my.mdb'// or try only the DNS name
    
'username' => 'dbusername',
    
'password' => 'dbpassword',
    
'database' => 'Driver={Microsoft Access Driver (*.mdb)};DBQ=C:\path\to\my.mdb',
    
'dbdriver' => 'odbc',
        ...
); 

Hope this helps.

Reply


Messages In This Thread
Connection to Access - by jaysondotp - 12-02-2014, 11:09 PM
RE: Connection to Access - by sv3tli0 - 12-03-2014, 01:07 AM
RE: Connection to Access - by Rufnex - 12-03-2014, 02:07 AM
RE: Connection to Access - by jaysondotp - 12-03-2014, 06:29 PM
RE: Connection to Access - by jaysondotp - 12-04-2014, 01:43 AM
RE: Connection to Access - by jaysondotp - 12-05-2014, 01:41 AM



Theme © iAndrew 2016 - Forum software by © MyBB