mysql -u root -p 12345678 GRANT ALL PRIVILEGES ON *.* to 'root'@'%' IDENTIFIED BY '[email protected]'; FLUSH PRIVILEGES; select user, host, password from mysql.user; show databases;
sed -i '/bind-address/s/127.0.0.1/0.0.0.0/g' /etc/mysql/my.cnf sed -i '/bind/s/127.0.0.1/0.0.0.0/g' /home/frappe/frappe-bench/config/redis_cache.conf sed -i '/bind/s/127.0.0.1/0.0.0.0/g' /home/frappe/frappe-bench/config/redis_queue.conf sed -i '/bind/s/127.0.0.1/0.0.0.0/g' /home/frappe/frappe-bench/config/redis_socketio.conf