锘??xml version="1.0" encoding="utf-8" standalone="yes"?>国产精品久久久久aaaa樱花,国产精品一二一区,亚洲综合日韩在线http://www.shnenglu.com/bigsml/category/2784.htmlzh-cnWed, 21 May 2008 09:26:35 GMTWed, 21 May 2008 09:26:35 GMT60鍦↙inux涓嬪疄鐜板Microsoft Access Database(.mdb)鏌ヨ璁塊棶http://www.shnenglu.com/bigsml/archive/2006/10/09/13482.html娉℃場鐗?/dc:creator>娉℃場鐗?/author>Mon, 09 Oct 2006 03:19:00 GMThttp://www.shnenglu.com/bigsml/archive/2006/10/09/13482.htmlhttp://www.shnenglu.com/bigsml/comments/13482.htmlhttp://www.shnenglu.com/bigsml/archive/2006/10/09/13482.html#Feedback0http://www.shnenglu.com/bigsml/comments/commentRss/13482.htmlhttp://www.shnenglu.com/bigsml/services/trackbacks/13482.html
You will need the following:
Linux ( I鈥檓 running RedHat 9.0)
PHP
Apache
UnixODBC
MDBTools

INSTRUCTIONS
1) Download the UnixODBC RPM, found here. I installed unixODBC version 2.2.5.1.
rpm -ivh unixODBC-2-2.5-1.i386.rpm

2) Download the MDBTools rpm, found here. I installed mdbtools version 0.5.1. Read limitations!
rpm -ivh mdvtools-0.5-1.i386.rpm

3) Download the MDBTools ODBC driver rpm. Again I installed version 0.5-1.i386.rpm. Read limitations!
rpm -ivh mdbtools-odbc-0.5-1.i386.rpm

4) Add the mdbtools driver to your unixODBC config.
Create a new text file. NON-LINUX user: Beware do not do this on windows as you might get werid new lines, use vi.

[MDBToolsODBC]
Description = MDB Tools ODBC drivers
Driver = /usr/lib/libmdbodbc.so.0
Setup =
FileUsage = 1
CPTimeout =
CPReuse =


NOTE: The driver may be in /usr/local/lib/libmdbodbc.so.0. This happens if you build from source and use the make install command. The RPM puts it in /usr/lib.
Now install the driver using the file you created. This is called a template file.
odbcinst -i -d -f template.file

5) Define the datasource name. This is done in the /etc/odbc.ini file. So pull up this file in vi or another text editor and add the following lines.

[Dogs]
Description = Microsoft Access Database of Dogs
Driver = MDBToolsODBC
Database = /var/data/my_dog_db.mdb
Servername = localhost
UserName =
Password =
port = 5432


That鈥檚 it you should now have an odbc connection available. I will demonstrate using php, this assumes that your php is compiled with UnixODBC support, the version that ships with Redhat 9 does if yours does not then you can learn how here.

So I will write a quick php script to query my dogs database and print out the names and weights of my dogs.

$myDB = odbc_connect(鈥滵ogs鈥?鈥?,鈥?);
$query = 鈥渟elect name, weight from dog_list鈥?
$result = odbc_exec($myDB, $query);
while (odbc_fetch_row($result)) {
print 鈥淣ame = 鈥?. odbc_result($result,鈥漬ame鈥?;
print 鈥?br />Weight = 鈥?. odbc_result($result,鈥漺eight鈥?;
}


If you get a php error that says odbc_connect is not a function then see if you have php-odbc installed. Do rpm -qa php-odbc. If you see php-odbc returned then you have it if not install it., the rpm is available on the redhat discs.

Limitations:
- As of the time of writing this entry MDBTools did not support write access to the mdb files. This was fine for my purposes as I was reading data in and sticking it into a mysql database.
- There is a bug in MDBTools v0.5 which does not allow you to query tables or columns with an underscore. This was a bug I hit early on, but it has been fixed in new version 0.6 but that has not been released as of the time of writing this article. So I recompiled the 0.5 source code with the fix from the 0.6 CVS repository. I have bundled it into a 0.5 release and have the two rpms mentioned above here:
mdbtools-0.5-1.i386.rpm
mdbtools-odbc-0.5-1.i386.rpm

I would check the official download site before using my hacked version as I鈥檓 sure this bug will be fixed in 0.6 (plus rumor has write access will be present as well).



]]>
青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品
  • <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>
            亚洲成人资源网| 影视先锋久久| 欧美日韩国产黄| 国产精品专区h在线观看| 亚洲精品一区久久久久久| 免播放器亚洲一区| 久久久久国产精品一区三寸 | 亚洲一区二区三区乱码aⅴ| 亚洲国产高清aⅴ视频| 亚洲综合清纯丝袜自拍| 欧美色大人视频| 香蕉亚洲视频| 亚洲男人的天堂在线观看| 国产美女精品免费电影| 久久高清国产| 久久国产99| 亚洲国产乱码最新视频| 亚洲激情成人在线| 欧美日韩你懂的| 一区二区三区你懂的| 欧美国产第一页| 欧美日韩小视频| 小黄鸭精品aⅴ导航网站入口| 久久精品视频导航| 尤物yw午夜国产精品视频| 久久国产精品久久久| 久久国产日韩| 日韩一区二区免费高清| 99re热这里只有精品免费视频| 久久久久国产精品www| 久久中文字幕一区| 国产精品99久久不卡二区 | 亚洲黄色毛片| 欧美日韩三区四区| 久久免费国产精品1| 免费在线国产精品| 久久人人爽爽爽人久久久| 国产有码在线一区二区视频| 久久综合五月| 亚洲精品1区2区| 久久人人爽人人爽| 久久国产乱子精品免费女 | 久久精品视频在线播放| 欧美成人国产| 米奇777在线欧美播放| 久久欧美肥婆一二区| 亚洲一区二区网站| 国产精品免费观看视频| 亚洲精品韩国| 欧美成人免费全部观看天天性色| 久久久综合视频| 国产欧美三级| 亚洲天天影视| 免费av成人在线| 久久精品女人| 欧美激情va永久在线播放| 久久成人精品无人区| 欧美黑人在线播放| 久久精品人人做人人爽| 欧美日韩1区| 欧美激情久久久| 激情久久影院| 亚洲日本视频| 亚洲国产岛国毛片在线| 午夜精品久久久久久久男人的天堂 | 欧美午夜精品久久久| 免费日韩视频| 国产一区久久久| 欧美成人免费网站| 日韩一级在线观看| 一本久久综合| 99re在线精品| 香港成人在线视频| 欧美在线观看视频一区二区三区| 欧美日韩在线视频一区| 裸体丰满少妇做受久久99精品| 国产性天天综合网| 亚洲综合色丁香婷婷六月图片| 亚洲国产日韩在线| 欧美日韩高清不卡| 亚洲人屁股眼子交8| 亚洲人妖在线| 欧美精品在线网站| 亚洲国产高潮在线观看| 一区二区三区国产盗摄| 久久久久久亚洲精品中文字幕| 性亚洲最疯狂xxxx高清| 欧美色视频在线| 欧美中在线观看| 免费视频亚洲| 一本一本久久a久久精品综合麻豆| 欧美激情视频在线播放| 亚洲毛片在线看| 亚洲欧美成人综合| 国产精品美女视频网站| 性欧美精品高清| 久久久久久久精| 激情国产一区二区| 欧美精品videossex性护士| 99亚洲伊人久久精品影院红桃| 亚洲一区二区3| 国产真实乱子伦精品视频| 久久全球大尺度高清视频| 性做久久久久久| 一区二区亚洲精品国产| 免费在线欧美黄色| 在线视频欧美一区| 久久久7777| 99精品视频免费全部在线| 国产精品免费观看在线| 久久久久国产一区二区三区| 亚洲国产精品成人久久综合一区| 亚洲无亚洲人成网站77777| 国产女主播一区二区| 开心色5月久久精品| 美女久久一区| 亚洲视频在线观看| 国产综合色产在线精品| 欧美人妖在线观看| 亚洲欧美在线看| 亚洲国产你懂的| 久久se精品一区精品二区| 亚洲国产天堂网精品网站| 国产精品久久久久久久久久妞妞 | 在线中文字幕一区| 毛片av中文字幕一区二区| 香蕉尹人综合在线观看| 一区二区三区视频免费在线观看| 亚洲国产精品久久| 在线成人黄色| 国产综合婷婷| 国一区二区在线观看| 国产欧美一区二区精品性色| 国产精品久久久久久久久搜平片 | 久久精品99| 亚洲男女自偷自拍| 99re66热这里只有精品3直播| 国产综合网站| 黑人巨大精品欧美一区二区 | 欧美电影免费观看大全| 久久这里有精品15一区二区三区| 久久成人精品电影| 久久xxxx精品视频| 久久se精品一区二区| 欧美综合国产| 久久久亚洲人| 欧美高清视频| 欧美日韩一区视频| 国产精品久久久久99| 欧美日本亚洲视频| 久久久福利视频| 欧美二区在线观看| 久久综合影视| 国产日韩欧美综合一区| 亚洲日本国产| 1024成人| 久久全球大尺度高清视频| 一区二区三区三区在线| 久久一区二区精品| 久久婷婷国产麻豆91天堂| 欧美日韩性视频在线| 亚洲国产精品www| 亚洲第一在线| 久久亚洲国产精品日日av夜夜| 亚洲午夜在线观看| 欧美激情二区三区| 亚洲高清资源综合久久精品| 精品动漫3d一区二区三区| 久久精品日韩一区二区三区| 欧美亚洲网站| 亚洲日本欧美天堂| 欧美精品三级在线观看| 另类专区欧美制服同性| 国产精品国产三级国产aⅴ9色| 欧美伊人影院| 国产日韩欧美91| 欧美一级欧美一级在线播放| 欧美与黑人午夜性猛交久久久| 国产精品高潮呻吟久久av无限| 日韩一级精品| 欧美激情精品久久久久久大尺度 | 亚洲高清123| 亚洲精品在线看| 午夜精品999| 欧美激情免费在线| 亚洲精品久久久久久一区二区| 午夜电影亚洲| 欧美激情黄色片| 新67194成人永久网站| 欧美精品久久99| 又紧又大又爽精品一区二区| 中文欧美日韩| 欧美激情网友自拍| 久久精品99国产精品日本| 欧美色一级片| 日韩天堂av| 另类天堂av| 欧美尤物巨大精品爽| 欧美三级电影一区| 亚洲麻豆视频|