Changes

From Amahi Wiki
Jump to: navigation, search
**Ensure you replace appname accordingly and the date can be changed providing you follow the format. If you changed the .conf file name, ensure it matches as well.
**To do a quick check, you can do the following for each table:
<blockquote>{{code|echo "select max(id) from `dns_aliases`" <nowiki>|</nowiki> mysql -uroot -phda hda_productionecho "select max(id) from `webapps`" <nowiki>|</nowiki> mysql -uroot -phda hda_production}}</blockquote>
:Once you have chosen the id number, execute the following
<blockquote>{{code|echo "INSERT INTO `dns_aliases` (`id`, `name`, `address`) VALUES(99, 'appname', '')" <nowiki>|</nowiki> mysql -uroot -phda hda_production
12,424

edits