Error 1046, No database selected, ci running in MAMP |
[eluser]Apocryphon[/eluser]
I have ci installed on a regular MAMP stack, and I'm working on this tutorial. However, I have only gone through the Created section, and currently I am getting a No database selected error. Model: Code: <?php View: Code: <?php $this->load->helper('form'); ?> Controller: Code: <?php database.php Code: $db['default']['hostname'] = "localhost:8889"; config.php Code: $config['base_url'] = "http://localhost:8888/ci/"; So, how come it's giving me this error message? Code: A Database Error Occurred |
Messages In This Thread |
Error 1046, No database selected, ci running in MAMP - by El Forum - 01-01-2011, 02:52 AM
Error 1046, No database selected, ci running in MAMP - by El Forum - 01-01-2011, 02:32 PM
Error 1046, No database selected, ci running in MAMP - by El Forum - 01-01-2011, 03:10 PM
Error 1046, No database selected, ci running in MAMP - by El Forum - 01-01-2011, 03:43 PM
Error 1046, No database selected, ci running in MAMP - by El Forum - 01-01-2011, 04:11 PM
Error 1046, No database selected, ci running in MAMP - by El Forum - 01-01-2011, 09:22 PM
Error 1046, No database selected, ci running in MAMP - by El Forum - 01-01-2011, 11:19 PM
Error 1046, No database selected, ci running in MAMP - by El Forum - 01-01-2011, 11:25 PM
Error 1046, No database selected, ci running in MAMP - by El Forum - 01-02-2011, 01:52 AM
|