http://localhost:8888/Databasename
You don't use the database name in the URL.
We were able to connect to the database server (which means your username and password is okay) but not able to select the Alasartephotography database.
Are you sure it exists?
Does the user have permission to use the Alasartephotography database?
Make sure the database username you added to your wp-config file has been given permissions on the 'Alasartephotography' database itself, and not just created as a mysql user.
Some reference materials: Installing WordPress