Problem loading page erpnext / Unknown MySQL server host


Every thing was working probably until I create a new site then every thing gone down.

The old site and the new one as well were unable to load the page on browser.

I think the problem related to the Database and Mysql in the new site, when I use the commend : bench Mysql , I got this error message " ERROR 2005 (HY000): Unknown MySQL server host ‘’ (-2) "

  • is the local host and 86 is the port for the new site.

However I am using Putty to enter the Ubuntu server .

same issue!
ERROR 2005 (HY000): Unknown MySQL server host ‘3aabf5feaed15add’ (-2)

Make sure your SQL server is running.

Hi @OmarJaber

How many sites are there in your server? What is the value showing in the file currentsite.txt under frappe-bench/sites directory?

1 Like

Thanks for replying
Solved by @ahmad18189 :slightly_smiling_face: