리뷰 Google Cloud 기초: Cloud Storage 및 Cloud SQL 시작하기개

리뷰 530243개

In the HTML there is a typo in the comments it says Secret Manger instead of Secret Manager: // password in the document root. Instead, we would store // it in a Secret Manger. <html> <head><title>Welcome to my excellent blog</title></head> <body> <h1>Welcome to my excellent blog</h1> <?php $dbserver = "CLOUDSQLIP"; $dbuser = "blogdbuser"; $dbpassword = "DBPASSWORD"; // In a production blog, we would not store the MySQL // password in the document root. Instead, we would store // it in a Secret Manger. For more information see // https://cloud.google.com/sql/docs/postgres/use-secret-manager try { $conn = new PDO("mysql:host=$dbserver;dbname=mysql", $dbuser, $dbpassword); // set the PDO error mode to exception $conn->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); echo "Connected successfully"; } catch(PDOException $e) { echo "Database connection failed:: " . $e->getMessage(); } ?> </body></html>

Mykyta H. · 4개월 전에 리뷰됨

Matteo Rossi G. · 4개월 전에 리뷰됨

Sadegh J. · 4개월 전에 리뷰됨

Lucas G. · 4개월 전에 리뷰됨

Matthew M. · 4개월 전에 리뷰됨

Ryan R. · 4개월 전에 리뷰됨

SOWMYA D. · 4개월 전에 리뷰됨

David M. · 4개월 전에 리뷰됨

Clint K. · 4개월 전에 리뷰됨

Sulakshana R. · 4개월 전에 리뷰됨

Valeria G. · 4개월 전에 리뷰됨

Sergio B. · 4개월 전에 리뷰됨

Fady G. · 4개월 전에 리뷰됨

Roua Y. · 4개월 전에 리뷰됨

Damian W. · 4개월 전에 리뷰됨

Alan D. · 4개월 전에 리뷰됨

Eslam S. · 4개월 전에 리뷰됨

Jerry W. · 4개월 전에 리뷰됨

Gideon O. · 4개월 전에 리뷰됨

all good

Vijender k. · 4개월 전에 리뷰됨

Abdou E. · 4개월 전에 리뷰됨

Fabian C. · 4개월 전에 리뷰됨

Finally it worked but had some issues, partially caused by 'free propositions' around Cloud SQL. 1. startup script on VM did not go - tried 2 times, still did not run - installed manually. Dirty workaround but survived. Of course this screwed all sequence so I had to correct connectivity to DB and so on. 2. 'free Cloud SQL DB' proposition was crazy misleading - failed first try to do the lab on this - some parameters it took from 'friendly default' - only from second time I managed to evade this. Actually as for me - I liked this challenge but I do not know how many failed it because of unexpected issues. I still had enough time after all of these unexpected things.

Roman N. · 4개월 전에 리뷰됨

Cuong L. · 4개월 전에 리뷰됨

guruprasad n. · 4개월 전에 리뷰됨

Google은 게시된 리뷰가 제품을 구매 또는 사용한 소비자에 의해 작성되었음을 보증하지 않습니다. 리뷰는 Google의 인증을 거치지 않습니다.