![]() ![]() ![]() If your MySQL database is managed by your web hosting company, contact them as they may be able to help. Sometimes MySQL servers are configured to refused some connections (for example connections from outside the network).Or If the Database server have run out of disk space and there is no space left on the server, it may also start to refuse connections.If you find the DB server is not running, proceed to restart Mysql server (or rebooting the whole server).Connect to the server running the MySQL database and check if the MySQL server is actively running by running this command mysqladmin -u root -p status (which should return an output like this: Uptime: 172505 Threads: 2 Questions: 90 Slow queries: 0 Opens: 157 Flush tables: 3 Open tables: 76) Check that the MySQL Server is running.Please reach out to your web hosting company or system administrator. If the command above works, but you still get the “Connection refused” error in the browser, there may be an issue with PHP.Connect to the server running Matomo and run this command: mysql -h -u -p -D (and replace the parameters in by the values found in your file.). If the above changes do not resolve the issue, we recommend you try to connect to MySQL on the command line to check if the credentials are correct and the server works.If the config file references host = "localhost", you can try to change it to 127.0.0.1 instead, for example in your under set host = "127.0.0.1".(if you are unsure, reach out to your database administrator or check in your web hosting account for the up to date credentials). Check that the DB username, DB password, database host, and database port are correct. Check that your config file config/ (in the Matomo directory) contains the correct and up to date DB credentials under the section.can be caused by several reasons, if you follow the steps below you should be able to fix this issue: The MySQL server error SQLSTATE Connection refused. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |