Bitnami server: Reset the MySQL root password

I don’t remember my MySQL root password used in ‘Bitnami WordPress Stack’ (wordpress-5.4.2-0) in Linuy-Mint and tried the steps described here:


nano installdir/mysql/tmp/mysql-init

and saved it with:


then i restarted the MySQL server via Bitname App installdir/

i expected to be able in:

with user root and NEW_PASSWORD but get then this error-message:

mysqli::real_connect(): (HY000/1045): Access denied for user 'root'@'localhost' (using password: YES) 

This way is different to suggestions on: Bitnami. reset mysql root pwd

i tried also:

~/wordpress-5.4.2-0/mysql$ service mysql reset-password mysql: unrecognized service 

~/wordpress-5.4.2-0/mysql$ sudo dpkg-reconfigure mysql-server-x.x

and get the same errors in phpmyadmin.

if i use:

sudo /usr/bin/mysqld_safe --skip-grant-tables & mysql -h localhost

it got

Command 'mysql' not found, but can be installed

but of course its installed.

Add Comment
0 Answer(s)

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.