Google Cloud-Grundlagen: Erste Schritte mit Cloud Storage und Cloud SQL Rezensionen
523184 Rezensionen
Eduardo Ramiro R. · Vor 12 Tage überprüft
Ahmed M. · Vor 12 Tage überprüft
Kevin L. · Vor 12 Tage überprüft
the errors at index.php threw me off for a bit.. but i understand its good to know how to fix things not configured perfectly the first time.. and to read the next task line to know that the error is expected.
Chris B. · Vor 12 Tage überprüft
Maria Paula B. · Vor 12 Tage überprüft
Piotr F. · Vor 12 Tage überprüft
Antonio Andres Á. · Vor 12 Tage überprüft
Sethu B. · Vor 12 Tage überprüft
Harvey M. · Vor 12 Tage überprüft
Adrian B. · Vor 12 Tage überprüft
Shobha S. · Vor 12 Tage überprüft
muhammad a. · Vor 12 Tage überprüft
Rochelle M. · Vor 12 Tage überprüft
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. · Vor 12 Tage überprüft
Matteo Rossi G. · Vor 12 Tage überprüft
Sadegh J. · Vor 12 Tage überprüft
Lucas G. · Vor 12 Tage überprüft
Matthew M. · Vor 12 Tage überprüft
Ryan R. · Vor 12 Tage überprüft
SOWMYA D. · Vor 12 Tage überprüft
David M. · Vor 12 Tage überprüft
Clint K. · Vor 12 Tage überprüft
Sulakshana R. · Vor 12 Tage überprüft
Valeria G. · Vor 12 Tage überprüft
Sergio B. · Vor 12 Tage überprüft
Wir können nicht garantieren, dass die veröffentlichten Rezensionen von Verbrauchern stammen, die die Produkte gekauft oder genutzt haben. Die Rezensionen werden von Google nicht überprüft.