You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SET PASSWORD FOR 'root'@'localhost' = PASSWORD('newrootpass');
flush privileges;
quit;
nano /opt/easyengine/services/docker-compose.yml and change line MYSQL_ROOT_PASSWORD
manual edit record global-db password in /opt/easyengine/db/ee.sqlite
ee service restart db
SO HOW TO CHANGE ROOT MYSQL PASSWORD?
System Information
+-------------------+----------------------------------------------------------+
| OS | Linux 5.4.0-84-generic #94-Ubuntu SMP Thu Aug 26 20:27:3 |
| | 7 UTC 2021 x86_64 |
| Shell | /bin/bash |
| PHP binary | /usr/bin/php8.0 |
| PHP version | 8.0.10 |
| php.ini used | /etc/php/8.0/cli/php.ini |
| EE root dir | phar://ee.phar |
| EE vendor dir | phar://ee.phar/vendor |
| EE phar path | /var/lib/docker/volumes |
| EE packages dir | |
| EE global config | /opt/easyengine/config/config.yml |
| EE project config | |
| EE version | 4.3.1 |
+-------------------+----------------------------------------------------------+
Server version: 10.5.4-MariaDB-1:10.5.4+maria~focal-log - mariadb.org binary distribution
The text was updated successfully, but these errors were encountered:
How to change root mysql password? Easy and clear question, right?
What I tried:
Change root pass in db using:
cd /opt/easyengine/services && docker-compose exec global-db bash -c 'mysql -uroot -p${MYSQL_ROOT_PASSWORD}'
SET PASSWORD FOR 'root'@'localhost' = PASSWORD('newrootpass');
flush privileges;
quit;
nano /opt/easyengine/services/docker-compose.yml
and change lineMYSQL_ROOT_PASSWORD
global-db
password in/opt/easyengine/db/ee.sqlite
ee service restart db
SO HOW TO CHANGE ROOT MYSQL PASSWORD?
The text was updated successfully, but these errors were encountered: