Skip to content

Commit

Permalink
Update connection.php
Browse files Browse the repository at this point in the history
  • Loading branch information
lechiluan committed Apr 16, 2023
1 parent fe74cdb commit 4a58299
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions connection.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
// Connect with MySQL
$conn = mysqli_connect("localhost", "root", "", "db_ideas", "3306");
//$conn = mysqli_connect("bjzzesbzxmdkjy99zjrn-mysql.services.clever-cloud.com", "uc2fzankb4vckadp", "JuLLcnGBQKm1k1MN1gxp", "bjzzesbzxmdkjy99zjrn", "3306");
// $conn = mysqli_connect("localhost", "root", "", "db_ideas", "3306");
$conn = mysqli_connect("bjzzesbzxmdkjy99zjrn-mysql.services.clever-cloud.com", "uc2fzankb4vckadp", "JuLLcnGBQKm1k1MN1gxp", "bjzzesbzxmdkjy99zjrn", "3306");
if (!$conn) {
echo "<script>alert('Connection failed: " . mysqli_connect_error() . "')</script>";
}
Expand Down

0 comments on commit 4a58299

Please sign in to comment.