简体   繁体   中英

Maria db remote access

I'm trying to remote access maria db on google compute engine. After comment below line #bind-address = 127.0.0.1

and restart maria db, it still binds to 127.0.0.1:3306. The file that I edited is /etc/mysql/mariadb.conf.d/50-server.cnf

May anyone help me to set it up?

You need to bind it to 0.0.0.0 to access it remotely. Uncomment the bind-address field and change the value to 0.0.0.0 .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM