CodeIgniter - конфиг для подключение базы

Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2023
Перейти к:навигация, поиск
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

CodeIgniter - конфиг для подключение базы


Находится по адресу application/config/database.php:

// The following values will probably need to be changed.
$db['default']['username'] = "user_mysql";
$db['default']['password'] = "password";
$db['default']['database'] = "db";
// The following values can probably stay the same.
$db['default']['hostname'] = "localhost";