sync to cloud, php enable
This commit is contained in:
17
www/lib/mysql_connect.php
Normal file
17
www/lib/mysql_connect.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?
|
||||
//phpinfo();
|
||||
$servername = "db";
|
||||
$username = 'kalskeborec';
|
||||
$password = 'Kalskeborec1!23$';
|
||||
|
||||
// Create connection
|
||||
$conn = new mysqli($servername, $username, $password);
|
||||
|
||||
// Check connection
|
||||
if ($conn->connect_error) {
|
||||
die("Connection failed: " . $conn->connect_error);
|
||||
}
|
||||
echo "Connected successfully";
|
||||
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user