Hello, I'm trying to connect my server to a database (MySQL) in localhost. I don't know if it's important but I use XAMPP. I'm connect to phpMyAdmin with localhost8080 that redirect my on XAMPP page and after click on the button "phpMyAdmin". I create a base named 'base', and 3 table. I'm connect to MySQL with host "localhost". port 3306. Open Hyper-V Manager, select your Zabbix virtual machine and click Connect from the Actions options on the right. If the machine is not running, click start and wait for it to boot up. Log in to the virtual machine and now let's check on the disk. If you are confident that the web page is from a reliable source and you still get the ERRCONNECTIONREFUSED error, you could consider temporarily disabling your antivirus and firewall. To disable antivirus software on your Windows computer, head over to Start > Settings > Update & Security > Windows Security > Virus & threat protection. This config file stores the following database credentials which allows you to connect. Database username; Database username password; Database hostname; Database name; If the database login information was changed in the panel without updating the connection information in the site's configuration file, your site cannot connect to the database. Another possibility is that any network configurations like Firewall rules are installed so that the connections to database are refused. Fix Check if the MySQL database instance is running. USE test; ERROR 1044 (42000) Access denied for user 'ian''localhost' to database 'test' or can connect to a particular database, but not another, for example mysql -u name db1 works but not mysql -u name db2, you have not been granted permission for the particular database. See the GRANT article. Option Files and Environment Variables. It's. The key to troubleshooting is determining what part of the network is causing the problem Verify the database credentials Try connecting to the database with the same credentials specified in the Looker connection settings, from a different application. When I first ran it and created a database and a new user, everything worked perfectly - I was able to connect to the database and was able t. Stack Exchange Network Stack Exchange network consists of 180 Q&A.