锘??xml version="1.0" encoding="utf-8" standalone="yes"?>国产精品久久久久aaaa樱花,国产精品一二一区,亚洲综合日韩在线http://m.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://m.shnenglu.com/bigsml/archive/2006/10/09/13482.html娉℃場鐗?/dc:creator>娉℃場鐗?/author>Mon, 09 Oct 2006 03:19:00 GMThttp://m.shnenglu.com/bigsml/archive/2006/10/09/13482.htmlhttp://m.shnenglu.com/bigsml/comments/13482.htmlhttp://m.shnenglu.com/bigsml/archive/2006/10/09/13482.html#Feedback0http://m.shnenglu.com/bigsml/comments/commentRss/13482.htmlhttp://m.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>
            亚洲伊人久久综合| 久久久久综合网| 国产日韩欧美在线看| 国产欧美亚洲日本| 黑人操亚洲美女惩罚| 日韩午夜在线播放| 日韩一级视频免费观看在线| 一区二区电影免费观看| 亚洲欧美中文在线视频| 久久se精品一区二区| 久久亚洲欧美| 欧美日韩亚洲高清一区二区| 国产精品综合久久久| 在线日韩av片| 一区二区av在线| 久久大香伊蕉在人线观看热2| 久久精品在线观看| 国产伦精品一区二区三| 欧美人体xx| 欧美亚洲成人精品| 国内精品久久久久影院 日本资源 国内精品久久久久伊人av | 欧美一区1区三区3区公司| 玖玖玖国产精品| 欧美午夜精品电影| 亚洲国产成人精品久久| 亚洲淫性视频| 欧美激情a∨在线视频播放| 亚洲私拍自拍| 欧美高清视频www夜色资源网| 国产欧美日韩伦理| 久久亚洲欧洲| 欧美视频二区| 亚洲韩国青草视频| 久久国产一区二区| 亚洲免费成人av| 久久人人看视频| 国产婷婷精品| 亚洲欧美日韩在线播放| 亚洲国产一区视频| 欧美亚洲一区| 国产精品免费一区豆花| 一本久久综合亚洲鲁鲁| 欧美激情免费在线| 久久九九电影| 国产一区二区三区的电影| 亚洲无亚洲人成网站77777| 欧美电影免费观看高清| 久久成人精品无人区| 国产精品另类一区| 亚洲在线观看免费| 亚洲伦伦在线| 欧美啪啪成人vr| 亚洲黄一区二区| 媚黑女一区二区| 久久久久久久久岛国免费| 国产日韩欧美一二三区| 欧美亚洲三级| 亚洲欧美日本在线| 国产色综合久久| 久久久久久久尹人综合网亚洲 | 中文欧美在线视频| 欧美日本韩国在线| 99这里只有久久精品视频| 亚洲福利在线看| 欧美激情第4页| 亚洲精品乱码久久久久久| 亚洲第一网站| 欧美日韩国内| 亚洲综合国产| 久久xxxx| 亚洲国产网站| 亚洲精品视频中文字幕| 欧美一区二区三区精品| 亚洲第一精品影视| 欧美成人日韩| 99v久久综合狠狠综合久久| 亚洲欧洲日产国产网站| 欧美日韩综合视频网址| 欧美亚洲免费在线| 久久成人人人人精品欧| 亚洲高清激情| 一本色道久久综合亚洲精品不卡 | 亚洲啪啪91| 亚洲欧洲精品一区二区三区不卡 | 欧美一级网站| 久久久国产精品一区二区三区| 亚洲大片一区二区三区| 亚洲精品中文在线| 国产精品日韩欧美一区二区三区| 久久成人综合视频| 免费日韩视频| 午夜激情亚洲| 久久夜色精品亚洲噜噜国产mv| 亚洲精品视频一区| 亚洲一区欧美激情| 亚洲国产精品久久| 中日韩美女免费视频网址在线观看| 国产精品综合视频| 亚洲国产精品国自产拍av秋霞| 国产精品国产三级国产aⅴ入口| 久久人人爽人人爽| 欧美三级午夜理伦三级中视频| 久久99伊人| 欧美日韩国产黄| 久久夜精品va视频免费观看| 欧美日韩亚洲三区| 老司机一区二区三区| 国产精品久久久久久久久久久久| 另类成人小视频在线| 国产精品久久久久久久久搜平片| 欧美电影免费观看| 国产一区二区久久| 在线亚洲电影| 日韩图片一区| 久久天天躁夜夜躁狠狠躁2022| 亚洲制服av| 欧美激情一区二区三区成人 | 亚洲无线一线二线三线区别av| 久久婷婷国产麻豆91天堂| 校园春色综合网| 亚洲激情在线观看| 久久精品国产999大香线蕉| 欧美另类99xxxxx| 蜜臀久久99精品久久久画质超高清| 国产精品乱码| 在线午夜精品| 亚洲午夜视频在线| 欧美日韩国产美| 亚洲国产综合视频在线观看| 亚洲福利在线观看| 久久久久久电影| 久久综合国产精品| 禁久久精品乱码| 久久久精品视频成人| 久久偷看各类wc女厕嘘嘘偷窃| 国产精品实拍| 国产精品99久久久久久宅男| 亚洲视频自拍偷拍| 欧美小视频在线观看| 亚洲视频一二区| 亚洲欧美日韩网| 国产精品一卡二| 午夜精品久久久久久久蜜桃app| 性伦欧美刺激片在线观看| 国产精品美女久久久久久免费| 亚洲天堂av综合网| 午夜影院日韩| 国产欧美一区二区视频| 久久爱www.| 欧美激情视频一区二区三区不卡| 亚洲欧洲一区二区三区| 欧美日韩高清在线播放| 在线中文字幕不卡| 性视频1819p久久| 国产一区二区三区丝袜| 久久久99免费视频| 亚洲欧洲一区二区在线播放| 亚洲天堂免费观看| 国产丝袜美腿一区二区三区| 久久亚洲电影| 亚洲毛片网站| 久久精品99无色码中文字幕 | …久久精品99久久香蕉国产| 免费在线看成人av| 夜夜嗨av一区二区三区网页| 亚洲一区图片| 国产一区二区三区奇米久涩| 欧美大片一区二区| 亚洲女ⅴideoshd黑人| 久久嫩草精品久久久精品| 亚洲国产婷婷香蕉久久久久久99| 欧美日韩午夜视频在线观看| 亚洲欧美在线看| 亚洲成色www8888| 亚洲免费在线| 亚洲国产精品成人综合色在线婷婷 | 亚洲第一精品在线| 欧美日韩一区二区视频在线| 亚欧成人精品| 亚洲精选国产| 久久在精品线影院精品国产| 99在线精品免费视频九九视| 国产伊人精品| 欧美小视频在线| 蜜桃精品久久久久久久免费影院| 亚洲视频综合| 91久久线看在观草草青青| 可以免费看不卡的av网站| 国产在线欧美日韩| 亚洲乱码国产乱码精品精98午夜| 亚洲男人第一av网站| 136国产福利精品导航网址| 欧美日韩亚洲一区二区| 羞羞答答国产精品www一本| 亚洲欧洲三级| 麻豆久久婷婷| 久久国产天堂福利天堂| 亚洲视频在线观看三级| 亚洲乱码日产精品bd| 伊人夜夜躁av伊人久久|