<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: How to Open View MS Access mdb files in Ubuntu / Linux	</title>
	<atom:link href="https://www.binarytides.com/open-view-ms-access-mdb-files-in-ubuntu-linux/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.binarytides.com/open-view-ms-access-mdb-files-in-ubuntu-linux/</link>
	<description>News, Technology, Entertainment and more</description>
	<lastBuildDate>Mon, 01 May 2023 03:50:41 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.2</generator>
	<item>
		<title>
		By: MurliGawali		</title>
		<link>https://www.binarytides.com/open-view-ms-access-mdb-files-in-ubuntu-linux/comment-page-1/#comment-296278</link>

		<dc:creator><![CDATA[MurliGawali]]></dc:creator>
		<pubDate>Tue, 24 Nov 2020 04:59:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=177#comment-296278</guid>

					<description><![CDATA[Sir,
After installing 
$sudo apt-get install mdbtools-gmdb

the MDBTools is not working Showing 
&quot;could not find driver &quot;

here is my php code ---&#062;
$database=&quot;/opt/lampp/elibdata/database1.mdb&quot;;
$driver = &quot;MDBTools&quot;;
try {
    //$dbh = new PDO(&quot;odbc:DSN=MS Access Database;DBq=$database;&quot;);
    $dbh = new PDO(&quot;MDBTools:Driver={Microsoft Access Driver (*.mdb, *.accdb)};DBq=$database;&quot;);    
    //$dbh = new PDO(&quot;pgsql:host=localhost;dbname=&quot;,$database,&quot;&quot;,&quot;&quot;);  
    //$dbh = new PDO(&quot;odbc:Driver=$driver;DBQ=$database&quot;, &quot;&quot;, &quot;&quot;);   
    $dbh-&#062;setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);

    $sql = &quot;SELECT * FROM Admc&quot;;    
    $STH = $dbh-&#062;query($sql);    
    $STH-&#062;setFetchMode(PDO::FETCH_ASSOC); 
}
catch(PDOException $e) {  
    echo $e-&#062;getMessage().&quot;n&quot;;
    exit;
}
#close the connection
$dbh = null;

Please guide me in this matter.

Thankx in Advance.
MNG]]></description>
			<content:encoded><![CDATA[<p>Sir,<br />
After installing<br />
$sudo apt-get install mdbtools-gmdb</p>
<p>the MDBTools is not working Showing<br />
&#8220;could not find driver &#8221;</p>
<p>here is my php code &#8212;&gt;<br />
$database=&#8221;/opt/lampp/elibdata/database1.mdb&#8221;;<br />
$driver = &#8220;MDBTools&#8221;;<br />
try {<br />
    //$dbh = new PDO(&#8220;odbc:DSN=MS Access Database;DBq=$database;&#8221;);<br />
    $dbh = new PDO(&#8220;MDBTools:Driver={Microsoft Access Driver (*.mdb, *.accdb)};DBq=$database;&#8221;);<br />
    //$dbh = new PDO(&#8220;pgsql:host=localhost;dbname=&#8221;,$database,&#8221;&#8221;,&#8221;&#8221;);<br />
    //$dbh = new PDO(&#8220;odbc:Driver=$driver;DBQ=$database&#8221;, &#8220;&#8221;, &#8220;&#8221;);<br />
    $dbh-&gt;setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);</p>
<p>    $sql = &#8220;SELECT * FROM Admc&#8221;;<br />
    $STH = $dbh-&gt;query($sql);<br />
    $STH-&gt;setFetchMode(PDO::FETCH_ASSOC);<br />
}<br />
catch(PDOException $e) {<br />
    echo $e-&gt;getMessage().&#8221;n&#8221;;<br />
    exit;<br />
}<br />
#close the connection<br />
$dbh = null;</p>
<p>Please guide me in this matter.</p>
<p>Thankx in Advance.<br />
MNG</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
