Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $servername = "******";
- $username = "***";
- $password = '*****';
- // Create connection
- $conn = new mysqli($servername, $username, $password);
- // Check connection
- if ($conn->connect_error) {
- die("Connection failed: " . $conn->connect_error);
- }
- echo "Connected successfully";
- ?>
- Connection failed: Can't connect to MySQL server on '*****' (111 "Connection refused")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement