hello - i manually changed my mariadb root password, and now webmin cannot connect anymore. is there a confile file somewhere that contains this information that needs to be manually edited?
or does webmin/virtualmin have its own username/password? its been several years since i set this up and do not remember, maybe i accidentally just used the mariadb root username/password... i forget.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
thanks - does this apply to some sort of master database for webmin/virtualmin? i never used webmin to create any databases, but created all the individual databases manually. note: i plan on migrating servers soon and will start with a nice CLEAN install of webmin/virtualmin.
Last edit: mark edwards 2019-06-18
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
thanks - does this apply to some sort of master database for
webmin/virtualmin? i never used webmin to create any databases, but did
all this manually. note: i plan on migrating servers soon and will start
with a nice CLEAN install of webmin/virtualmin.
In order to migrate it, I would simply back up /var/lib/mysql/ directory. You would need to tar it with keeping permissions using -p switch. You would need to chcon for right attrs in case you use SELinux.
It's also possible to preserv all kind of permissions by running:
😃😃😃😃😃😃😃😃😃😃
personally, i like to use "mysqldump" when migrating a database. at least that way it tends to fix any hidden issues (although recently i had a mysqldump script with an error, surprinsingly)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hello - i manually changed my mariadb root password, and now webmin cannot connect anymore. is there a confile file somewhere that contains this information that needs to be manually edited?
or does webmin/virtualmin have its own username/password? its been several years since i set this up and do not remember, maybe i accidentally just used the mariadb root username/password... i forget.
Hi, Mark!
Go to Virtualmin/Edit Databases -> Passwords/Change database passwords.
thanks - does this apply to some sort of master database for webmin/virtualmin? i never used webmin to create any databases, but created all the individual databases manually. note: i plan on migrating servers soon and will start with a nice CLEAN install of webmin/virtualmin.
Last edit: mark edwards 2019-06-18
thanks - does this apply to some sort of master database for
webmin/virtualmin? i never used webmin to create any databases, but did
all this manually. note: i plan on migrating servers soon and will start
with a nice CLEAN install of webmin/virtualmin.
Thank you,
Mark Edwards
On Tue, Jun 18, 2019 at 9:29 AM Ilia Rostovtsev rostovtsev@users.sourceforge.net wrote:
For administrative password go to Webmin tab, then Servers/MySQL Database Server -> Change Administration Password.
In order to migrate it, I would simply back up
/var/lib/mysql/directory. You would need totarit with keeping permissions using-pswitch. You would need tochconfor right attrs in case you use SELinux.It's also possible to preserv all kind of permissions by running:
😃😃😃😃😃😃😃😃😃😃
personally, i like to use "mysqldump" when migrating a database. at least that way it tends to fix any hidden issues (although recently i had a mysqldump script with an error, surprinsingly)