These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Change db for installed script? on the new forum.
Hi, I wanted to migrate a server's script into virtualmin, so I cheated a bit. I...
This worked wonderfully, except I had virtualmin create a temporary db while it installed. Now when I look at the script through virtualmin, it lists the wrong db and I was wondering if anyone knew where I can correct that.
Thanks, in advance.
Howdy,
First, I haven't tried this before, so I don't know how well it works :-)
However, poking around a bit, I *think* you can do that by updating two files:
1. /etc/webmin/mysql/USERNAME.acl
2. /etc/webmin/virtual-server/domains/DOMAIN_ID
For #1, update the "dbs=" line. For #2, it's the "db_mysql" line.
-Eric