How to change the password and username FreePBX

I have forgotten for a username and password when I want to login, how to change it came back

ssh or webui

can you help direct me

What are you trying to log in to?

I am Login to FreePBX adminstrator

http://wiki.freepbx.org/display/L1/amportal+commands#amportalcommands-Unlock

FATAL ERROR

DB Error: connect failed

Trace Back

/var/www/html/admin/libraries/db_connect.php:71 die_freepbx()
[0]: DB Error: connect failed

/var/www/html/admin/bootstrap.php:85 require_once()
[0]: /var/www/html/admin/libraries/db_connect.php

/etc/freepbx.conf:9 require_once()
[0]: /var/www/html/admin/bootstrap.php

/var/www/html/admin/config.php:99 include_once()
[0]: /etc/freepbx.conf

How To FIX

mysqlcheck --repair --all-databases

mysqlcheck: Got error: 1045: Access denied for user ‘root’@‘localhost’ (using password: NO) when trying to connect

then you need to supply the root mysql password with -p

can not also, is there any other way