Checked everything. All seems well, but still can't access. Mamp is v.4. The site is several years old. Just can;t access. I'm feeling really stupid.
Which version of PHP does Mamp use? If it's PHP7, you're never going to connect.
You will need PHP 5.4 or lower to use the deprecated server behavior panels.
The panels were removed from DW in 2013 for a reason. They generate obsolete code.
Put this code into a new PHP file.
Change information in bold to your own.
Save as info.php.
Run it on your localhost.
<?php
$con = mysqli_connect("localhost","your_username","your_password","your_database_name");
// Check connection
if (mysqli_connect_errno())
{
echo "Failed to connect to MySQL: " . mysqli_connect_error();
}
else echo "<h1>Success in database connection! Happy Coding!</h1>";
phpinfo()
?>
This will tell you which PHP version you have.
Nancy