标签:
由于要将mssql 和 mysql 里面的数据进行对比,So.
配置:database.php
$db[‘default‘][‘hostname‘] = ‘192.168.1.222‘; $db[‘default‘][‘username‘] = ‘root‘; $db[‘default‘][‘password‘] = ‘test‘; $db[‘default‘][‘database‘] = ‘demo_database‘; $db[‘default‘][‘dbdriver‘] = ‘mysql‘; $db[‘default‘][‘dbprefix‘] = ‘iwebshop_‘; $db[‘default‘][‘pconnect‘] = TRUE; $db[‘default‘][‘db_debug‘] = TRUE; $db[‘default‘][‘cache_on‘] = FALSE; $db[‘default‘][‘cachedir‘] = ‘‘; $db[‘default‘][‘char_set‘] = ‘utf8‘; $db[‘default‘][‘dbcollat‘] = ‘utf8_general_ci‘; $db[‘default‘][‘swap_pre‘] = ‘‘; $db[‘default‘][‘autoinit‘] = TRUE; $db[‘default‘][‘stricton‘] = FALSE; $db[‘default‘][‘hostname‘] = ‘192.168.1.222‘; $db[‘default‘][‘username‘] = ‘sa‘; $db[‘default‘][‘password‘] = ‘test‘; $db[‘default‘][‘database‘] = ‘demo_database‘; $db[‘default‘][‘dbdriver‘] = ‘sqlsrv‘; $db[‘default‘][‘dbprefix‘] = ‘‘; $db[‘default‘][‘pconnect‘] = TRUE; $db[‘default‘][‘char_set‘] = ‘utf-8‘;
标签:
原文地址:http://www.cnblogs.com/zoupufa/p/4257449.html