Operating system: CentOS Linux 7.8.2003 OS version: 7.8
Hi, I have a server to help a friend with school website, I have been using webmin and virtualmin well for a year. I made a big error trying to install de Cpanel (cpanel punto net) trial to change in the future, Cpanel install failed when detected mariadb installed. Result I lost my virtualhost info, now virtualmin is empty and apache is down,
When go to webmin - Servers - Virtualmin Virtual servers I get this error:
Failed to query Postfix config command to get the current value of parameter virtual_alias_maps:
After error server was down and now I need to restore virtualmin virtual servers I can’t access phpmyadmin, neither file manager.
Please help with virtualmin restore. At least to get database info and files.
Hi, I have access to webmin → Tools → File Manager, I could get files now I need get database. I can access phpmyadmin too, but user I used before was lost because I try to login and get this error:
“Cannot log in to the MySQL server”
“mysqli::real_connect(): (HY000/2002): No such file or directory”
Is there a way to create an user via SSH or get root password?