FreeBSD: Error adding new user – pw: user ‘mysql’ disappeared during update

Today when I installed mysql5.7 on my new freebsd server, I got below problem:

Error adding new user - pw: user 'anne' disappeared during update

This issue is not common. And it’s caused by atabases are out of sync.
To fix this issue, just Run

/usr/sbin/pwd_mkdb -p /etc/master.passwd

Leave a Reply

Your email address will not be published.