Hi
I have problem with MySQL. When I am trying to create new Virtual Server I am getting this error:
MySQL database failed! : mysql::execute_sql_logged failed : SQL insert into user (host, user, ssl_type, ssl_cipher, x509_issuer, x509_subject, plugin, authentication_string) values (‘localhost’, ‘autodiely’, ‘’, ‘’, ‘’, ‘’, ‘mysql_native_password’, password(‘CWhSFSv6FTvdsaWa4sx’)) failed : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘(‘CWhSFSv6FTvdsaWa4sx’))’ at line 1 at /usr/share/webmin/web-lib-funcs.pl line 1495.
I am running :
Ubuntu Linux 20.04.3 in google cloud
MySQL version 8.0.27
Webmin version: 1.941
Virtualmin version: 6.08
This is not a fresh install, but a month ago I do a distro upgrade, everything was working well. This happened after a few last updates. All old Virtual Servers(“VS”) work well with existing databases. But I cant create new VS with database or enable features in Edit virtual server…
Thank you very much for reply.
Good point. I find that I havent Webmin and Virtualmin in repo. Can you advice me which repo should I use for Virtualmin and ubuntu 20.
Thank you.
Not working for me, I add Webmin and Virtualmin to repo, next I did apt update and upgrade Webmin and Usermin has updated to actual version but Virtualmin stay in 6.08.
Thank you very much I am updating the system this way but probably due to the installation Virtualmin with install script I haven’t had a link to Webmin and Virtualmin in sources.list… But now it’s solved. In my next post, I will write about how I do it. Thank you a lot for the help!
The problem was with outdated software, specifically Virtualmin. I wasn’t able to update Virtualmin from GUI so I found a good article about how to update Webmin and Virtualmin : Webmin, Virtualmin and APT for Ubuntu and Debian – joho.se
After updating Virtualmin to the actual version, I am able to create a Virtual Server with a database. Huraaaa!!