Last active
July 1, 2018 00:03
-
-
Save mohitt/a8ebf8e44df673da68a92511e6268469 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$servername = "cy-db-c"; | |
$database = "cloudyogi_wp"; | |
$username = "cloudyogi_wp"; | |
$password = "localhost"; | |
// Create connection | |
$conn = new mysqli($servername, $username, $password); | |
// Check connection | |
if ($conn->connect_error) { | |
die("Connection failed: " . $conn->connect_error); | |
} | |
echo "Connected successfully"; | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment