$servername ="localhost:3306"; $username = "terrific_db"; $password = "2KAveL(4]?7A"; $dbname = "terrific_db" // Create connection $conn = new mysqli($localhost:3306, $terrific_db, 2KAveL(4]?7A, $terrific_db); // Check connection if ($mysqli->connect_error) { die('Connect Error (' . $mysqli->connect_errno . ') ' . $mysqli->connect_error); } echo '
Connection OK '. $mysqli->host_info.'
'; echo 'Server '.$mysqli->server_info.'
'; $mysqli->close(); ?>
|
||||||||||||||||||||||||
|
||||||||||||||||||||||||
|