Codeigniter - Using Multiple Databases

后端 未结 6 712
甜味超标
甜味超标 2020-11-29 04:01

database.php:

$db[\'default\'][\'hostname\'] = \"192.168.2.104\";
$db[\'default\'][\'username\'] = \"webuser\";
$db[\'default\'][\'password\         


        
6条回答
  •  执念已碎
    2020-11-29 04:48

    Instead of applying the hack as mentioned by Camacho you can also set the 'pconnect'-flag in the database.php file to FALSE for all connections.

提交回复
热议问题