phpstuff Posted August 19, 2014 Share Posted August 19, 2014 Can't connect to localhost for some reason. Running MAMP - just updated it. Here is what I have for my config.inc.php file: <?php if (!defined('LIVE')) DEFINE('LIVE', false); DEFINE('CONTACT_EMAIL', 'you@example.com'); // Send error messages to this email address when site is live DEFINE('BASE_URI', '/MAMP/htdocs'); // Should point to the PARENT of the web root directory DEFINE('BASE_URL', 'localhost:8888/'); // eg. www.example.com, localhost:8888/ DEFINE('MYSQL', BASE_URI . '/includes/mysql.inc.php'); session_start(); My mysql.inc.php file is in the includes folder. Any thoughts?? Link to comment Share on other sites More sharing options...
Antonio Conte Posted August 19, 2014 Share Posted August 19, 2014 Try login using the mysql terminal. If that doesn't work, I would look if any of the ports used by mysql have changed in mamp or for mysql itself. mysql -uUSER -pPASSWORD Other than that, I got nothing. Link to comment Share on other sites More sharing options...
phpstuff Posted August 19, 2014 Author Share Posted August 19, 2014 Thank you for your help Antonio!!! I will try that! Link to comment Share on other sites More sharing options...
Recommended Posts