[Spce-user] ngcp-reset-db

Alex Lutay alutay at sipwise.com
Thu Oct 17 04:03:30 EDT 2019


The issue been confirmed and reported internally as TT#69050.
The issue happens if DB 'root' has a password.

Sipwise has fully automated ngcp-reset-db test and it is executed
for all the supported releases and reported no issues.
Unfortunately DB there has no 'root' user password.
The test will be improved to test DB with root password.

Meanwhile you can temporary remove 'root' password and retrigger
ngcp-reset-db. Do not forget to set the password back.
Otherwise you have to wait for the fix here.

Thank you for the bug report here!

On 10/14/19 5:48 PM, Marcos Pytel wrote:
> When I execute ngcp-reset-db I get:
> Initialising DB passwords...
> DBI connect('database=mysql;host=localhost;port=3306','root',...)
> failed: Access denied for user 'root'@'localhost' (using password: NO)
> at /usr/sbin/ngcp-sync-constants line 117.
> Can't connect to MySQL database 'mysql': Access denied for user
> 'root'@'localhost' (using password: NO) at /usr/sbin/ngcp-sync-constants
> line 117.
> ERROR: Failed to run ngcp-sync-constants, aborting.
> Is a fresh install of mr7.5.1

Alex Lutay

More information about the Spce-user mailing list