<div class="gmail_extra">Hi Andrew,</div><div class="gmail_extra"><br></div><div class="gmail_extra">  How would I do a complete reinitialize on the DB including passwords? I seem to have a few more issues like below even though the password has been updated in mysql from the constants.yml</div>
<div class="gmail_extra"><br></div><pre>DBI connect('database=provisioning;host=localhost;port=0','soap',...) failed: Access denied for user 'soap'@'localhost' (using password: YES) at /usr/sbin/reminder line 41 </pre>
<div class="gmail_extra">Can't call method "prepare" on an undefined value at /usr/sbin/reminder line 43.</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra">Skyler <br>
<br><div class="gmail_quote">On Fri, Apr 27, 2012 at 3:37 AM, Andrew Pogrebennyk <span dir="ltr"><<a href="mailto:apogrebennyk@sipwise.com" target="_blank">apogrebennyk@sipwise.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5">On 04/26/2012 11:04 PM, Skyler wrote:<br>
>  I tried ngcp-reset-db on 2.5 with the intent to wipe/erase all data and<br>
> revert to fresh install. It reset all passwords but did not delete any<br>
> data from DB and now all passwords need to be manually updated in mysql<br>
> for each user listed within constants.yml.<br>
<br>
</div></div>Good point, this script no longer works since we moved to the rolling<br>
releases schema. There is a semi-automatic way to reinitialize DB in 2.5:<br>
<br>
mysql ngcp<br>
truncate table db_schema<br>
drop database sipstats;<br>
drop database carrier;<br>
<br>
ngcp-update-db-schema<br>
It will prompts for your confirmation. The passwords will remain intact.<br>
<br>
And I guess we already have a script to update mysql passwords from<br>
constants.yml, maybe Daniel can comment on it.<br>
<br>
Thanks for the bugreport, we will fix the script and the documentation.<br>
 :-)<br>
<span class="HOEnZb"><font color="#888888">Andrew<br>
</font></span></blockquote></div><br></div>