I deployed a project on MAC pc using localhost. I am going to call the project “Project-1”.
I then tried to test the deployed application on a Windows PC, so did the following:
- I copied the folder generated by the deployment process and copied the folder over to the wwwroot folder on the Windows PC.
- I generated a dump of MySql database for the application
- I imported the application’s database to MySql on the Windows pc and created the same connection used by the application.
- When entering the URL: http://localhost:86/Project-1 I get an access error
An error occurred while connecting to the database:
Access denied for user ‘root’@‘localhost’ (using password: YES)
How can I fix this access problem, seems like the password to the CONNECTION is not the same and won’t let me run the application.