Hello, I have various containers for various magento shops and it works fine. However, the db app password is always different and for this new project I need to change the app password. I have tried the following (form https://support.hypernode.com/en/hypernode/mysql/how-to-use-mysql-on-hypernode):
(command line ssh) mysql --host=your.hypernode.here --user=app --password=NewPassword
but I get
ERROR 1045 (28000): Access denied for user 'app'@'127.0.0.1' (using password: YES)
I have also tried to use root password with mysql -u root -p to use lines like:
ALTER USER 'app'@'localhost' IDENTIFIED BY ... etc
or
SET PASSWORD FOR 'app'@'localhost' .. etc
But none of these work.
I use the command
echo "create database database-name" | mysql
to create my initial database. Is there a possibility to define user and password with this?
Hello, I have various containers for various magento shops and it works fine. However, the db app password is always different and for this new project I need to change the app password. I have tried the following (form https://support.hypernode.com/en/hypernode/mysql/how-to-use-mysql-on-hypernode): (command line ssh) mysql --host=your.hypernode.here --user=app --password=NewPassword but I get ERROR 1045 (28000): Access denied for user 'app'@'127.0.0.1' (using password: YES)
I have also tried to use root password with mysql -u root -p to use lines like: ALTER USER 'app'@'localhost' IDENTIFIED BY ... etc or SET PASSWORD FOR 'app'@'localhost' .. etc But none of these work. I use the command echo "create database database-name" | mysql to create my initial database. Is there a possibility to define user and password with this?