I changed the domain name of one of the servers and now the phpmyadmin is not loading. The error I get when visiting newdomain.com/phpmyadmin/ is
Error during session start; please check your PHP and/or webserver log file and configure your PHP installation properly. Also ensure that cookies are enabled in your browser.
session_start(): open(SESSION_FILE, O_RDWR) failed: No such file or directory (2)
session_start(): Failed to read session data: files (path: /home/olddomain/tmp)
Somehow, phpmyadmin is still looking in the old location. How do I update it?
Hmm, odd.
Yes, there is no harm in doing that. The only thing which might happen, is that you loose backups which are stored inside the phpmyadmin folder (if they are loaded into that directory, which was possible in earlier versions … not sure if it’s still doable). Meaning, you can remove it and reinstall it.
I used the change domain feature to revert back to the old domain, then created a new server with new domain and moved the files and database over there manually. Its working now.
There could be an issue with the change domain feature that needs investigating.
If possible, report that at the github with as much information and details as possible.
If its a local issue, too bad. But if it’s a general isse then you will help a lot of people by reporting it.