admin管理员组文章数量:1327743
I own a wordpress website (website) that running well with hosting service (cpanel). So i want to create a new subdomain (new.website) and install wordpress in there but for the database i want to use Compute Engine from Google Cloud Platform.
I already install mysql on the CE and running perfectly, but unfortunately i couldn't connect it to my hosting service to install wordpress.
how can i do this?
what i already tried:
- create mysql on CE (running with ssh)
- create database, create user(connect to web ip), and password
- changing the myf (change the bind-address to 0.0.0.0)
- setting up wp-config installation on file manager on my hosting service, such as: database_name,user,password, and host
- connect the database from CE to mysql client (mysql workbench)
- make sure the port open: 3306
output: "error establishing a database connection" when i try new.website
potentially to be the problem:
- the mysql, i couldn't retrieve the database ip, cs when i run "mysql> status" it would return: connection: Localhost via UNIX socket
- the wp-config setup, do i need to change the db_host? i thought it should be the database ip, but i couldn't get the ip.
cheers from indonesia.
本文标签: googleHow to install Wordpress from hosting service with mysql database from Compute Engine GCP
版权声明:本文标题:google - How to install Wordpress from hosting service with mysql database from Compute Engine GCP? 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742229541a2436963.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论