' Db_type ' = ' pdo ',//database type ' db_user ' = ' user101 ',//user name ' db_pwd ' = ' [email protected ]#$% ',//password ' db_prefix ' = ' tb_ ',//database table prefix ' db_dsn ' = ' oci:dbname=127.0.0.1:1158/orcl; Charset=utf8 ',
thinkphp 3.2.2 Connection Oracle Configuration, the results prompt content:
Due to the fact that PDO is temporarily unable to support OCI, please use official OCI driver error location
file:d:\pc\zbphp.com\thinkphp\library\think\db\driver\pdo.class.php line:61
TRACE
#0 D:\PC\zbphp.com\ThinkPHP\Library\Think\Db\Driver\Pdo.class.php (): E (' \xe7\x94\xb1\xe4\xba\x8e\xe7\x9b\xae\ Xe5\x89\x8dpdo ... ')
#1 D:\PC\zbphp.com\ThinkPHP\Library\Think\Db.class.php (166): Think\db\driver\pdo->connect ()
#2 D:\PC\zbphp.com\ThinkPHP\Library\Think\Db\Driver\Pdo.class.php (244): Think\db->initconnect (True)
#3 D:\PC\zbphp.com\ThinkPHP\Library\Think\Model.class.php (): Think\db\driver\pdo->getfields (' Tb_base_game ') )
#4 D:\PC\zbphp.com\ThinkPHP\Library\Think\Model.class.php (118): Think\model->flush ()
#5 D:\PC\zbphp.com\ThinkPHP\Library\Think\Model.class.php (1298): Think\model->_checktableinfo ()
#6 D:\PC\zbphp.com\ThinkPHP\Library\Think\Model.class.php: think\model->db (0, ", true)
#7 D:\PC\zbphp.com\ThinkPHP\Common\functions.php (554): think\model->__construct (' basegame ', ', ')
#8 D:\PC\zbphp.com\Application\Home\Controller\IndexController.class.php (8): M (' Basegame ')
#9 [Internal function]: Home\controller\indexcontroller->index ()
#10 D:\PC\zbphp.com\ThinkPHP\Library\Think\App.class.php (155): Reflectionmethod->invoke (Object (home\ Controller\indexcontroller))
#11 D:\PC\zbphp.com\ThinkPHP\Library\Think\App.class.php (193): Think\app::exec ()
#12 D:\PC\zbphp.com\ThinkPHP\Library\Think\Think.class.php (): Think\app::run ()
#13 D:\PC\zbphp.com\ThinkPHP\ThinkPHP.php (+): Think\think::start ()
#14 D:\PC\zbphp.com\index.php: Require (' d:\\pc\\zbphp.com ... ')
#15 {main}
(by default7#zbphp.com)