+ -
当前位置:首页 → 问答吧 → thinkphp2.1如何连接access数据库

thinkphp2.1如何连接access数据库

时间:2011-07-15

来源:互联网

thinkphp2.1如何连接access数据库?我总连不上,但是直接用php的adodb是可以连.用thinkphp连接时报如下错误:
错误位置: FILE: C:\wamp\www\ThinkPHP\Lib\Think\Db\Driver\DbPdo.class.php LINE: 308
[ 错误信息 ]
[ SQL语句 ] : DESCRIBE wxz_lp
[ TRACE ]
[11-07-15 16:21:07] C:\wamp\www\ThinkPHP\Lib\Think\Db\Driver\DbPdo.class.php (308) DbPdo->query(DESCRIBE wxz_lp)
[11-07-15 16:21:07] C:\wamp\www\ThinkPHP\Lib\Think\Core\Model.class.php (136) DbPdo->getFields(wxz_lp)
[11-07-15 16:21:07] C:\wamp\www\ThinkPHP\Lib\Think\Core\Model.class.php (120) Model->flush()
[11-07-15 16:21:07] C:\wamp\www\ThinkPHP\Lib\Think\Core\Model.class.php (98) Model->_checkTableInfo()
[11-07-15 16:21:07] C:\wamp\www\cs\Runtime\~runtime.php (2) Model->__construct(lp)
[11-07-15 16:21:07] C:\wamp\www\cs\Lib\Action\IndexAction.class.php (12) M(lp)
[11-07-15 16:21:07] () IndexAction->index()
[11-07-15 16:21:07] C:\wamp\www\cs\Runtime\~runtime.php (2) call_user_func(Array)
[11-07-15 16:21:07] C:\wamp\www\cs\Runtime\~runtime.php (2) App::exec()
[11-07-15 16:21:07] C:\wamp\www\cs\index.php (3) App::run()

作者: lpfreesky   发布时间: 2011-07-15

官方看到此贴能否回答一下啊 谢谢了

作者: lpfreesky   发布时间: 2011-08-03

热门下载

更多