PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
 
Loading
It is currently Fri Nov 21, 2014 9:46 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Sun Aug 28, 2011 12:01 pm 
Offline
Forum Newbie

Joined: Sat Nov 28, 2009 4:39 pm
Posts: 17
Can i use microsoft access DB in mac?
In windows i set up dns to point to the *.mdb file then i used the following code which worked fine

<!--$odbc = odbc_connect ('logistics', 'root', '') or die('Could Not Connect to ODBC Database!');-->

so now i have a mac book and having set up Mamp and php i suddenly realise i cant run the above
code because there is no dsn. ive seen something like the following though but not sure .....

$connection = odbc_connect("Driver={Microsoft Access Driver (*.mdb)};Dbq=$mdbFilename", $user, $password);

Is there a way to do this in mac??????


Top
 Profile  
 
PostPosted: Mon Aug 29, 2011 1:02 am 
Offline
Forum Commoner
User avatar

Joined: Sun Sep 06, 2009 12:28 pm
Posts: 71
i'm a linux guy however i think you need to download proprietary software for you connectivity

either try using "Actual ODBC Driver" for access using mac or follow the instructions at http://support.apple.com/kb/dl895


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group