Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Unable to connect to database server using the provided settings. #732

Closed
vivekMuraleedharan opened this Issue Feb 5, 2013 · 3 comments

Comments

Projects
None yet
3 participants

i made all the changes found in this for this issue bt still not working wen i upload the folder to server.Its working in my localhost(i mean WAMP).plz hlp .tnx in advance

bonfire is not working in my server.these are my code...
database.php
$active_group = 'default';
$active_record = TRUE;

$db['default']['hostname'] = '174.120.31.189';
$db['default']['username'] = '_';
$db['default']['password'] = '
_
*';
$db['default']['database'] = 'demowebs_vish';
$db['default']['dbdriver'] = 'mysql';
$db['default']['dbprefix'] = '';
$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'] = TRUE;

database.php
$config['base_url'] = 'http://demowebsite.org/tester';
these are the modified portions.......plz hlep.............

Contributor

micfai commented Feb 5, 2013

Is the mysql server set to accept external connections? If not check out this link on how to do this.
http://stackoverflow.com/questions/6239131/how-to-grant-remote-access-permissions-to-mysql-server-for-user

Contributor

sourcejedi commented Mar 22, 2013

If you have ssh access, you could try using that, and connecting interactively with the "mysql" command (command-line client). That may give you error messages that don't suck. Or you might get more ideas asking on the forum.

There's not enough information here to identify a bug we can fix, so it's just cluttering up the tracker. (I know the error message isn't very helpful, but it looks like it comes from PHP not Bonfire).

@sourcejedi sourcejedi closed this Mar 22, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment