Welcome Guest, Not a member yet? Register   Sign In
Running the Database Library Locally without an Internet Connection
#1

[eluser]Unknown[/eluser]
I'm trying to run an application that runs off a local db. It works fine when there is an internet connection. However, when I turn off wi-fi, I'll get the error...

Code:
A Database Error Occurred

Unable to connect to your database server using the provided settings.

Filename: core/Loader.php

Line Number: 268

Here is my database config...

Code:
$db['local']['hostname'] = 'localhost';
$db['local']['username'] = 'root';
$db['local']['password'] = 'PASSWORD HERE';
$db['local']['database'] = 'DATABASE HERE';
$db['local']['dbdriver'] = 'mysql';
$db['local']['dbprefix'] = '';
$db['local']['pconnect'] = TRUE;
$db['local']['db_debug'] = TRUE;
$db['local']['cache_on'] = FALSE;
$db['local']['cachedir'] = '';
$db['local']['char_set'] = 'utf8';
$db['local']['dbcollat'] = 'utf8_general_ci';
$db['local']['swap_pre'] = '';
$db['local']['autoinit'] = FALSE;
$db['local']['stricton'] = FALSE;

Any ideas?




Theme © iAndrew 2016 - Forum software by © MyBB