Oracle Cloud: Acceso remoto MariaDB en CentOS 7 Linux Bitnami




# cd /opt/wordpress-5.7.2-0/
mariadb/bin
# ./mysql -u root -p

# CREATE USER 'xxx'@'%' IDENTIFIED BY 'clave';
# GRANT ALL PRIVILEGES ON *.* TO 'xxx'@'%';
# FLUSH PRIVILEGES;
# exit;

# firewall-cmd --permanent --zone=public --add-port=3306/tcp
# firewall-cmd --reload

// Additionally, you may change the my.cnf file to intruct MySQL (version 8) not to limit to local connections:
// Commnet line #bind_address=127.0.0.1

# cd /opt/wordpress-5.7.2-0/mariadb/
# vi my.cnf

// Reiniciar el servicio
# cd /opt/wordpress-5.7.2-0
# ./ctlscript.sh restart mariadb

// Configurar el firewall de Oracle Cloud para permitir el puerto 3306


Comentarios

Entradas populares