I'm trying to make a new connection to mysqladmin, but for reason's I cannot figure out, it will not work. From what I can see I have everything correct. Can someone please take a look and see what I am doing wrong?
Firstly, the User: PHPmyadmin
and then my sql: my sql
finally the localhost, the file is saved in a folder in the www folder of wamp so I have no idea why it is not showing. It is just blank.
Help is greatly appreciated. Thank u very much in advance.
You're not telling your php script what to do if the MySQL connection is successful, thats why output is blank.
Also, i suggest you using mysqli object
<?php
// Create connection
$conn = new mysqli('localhost', 'Desino', 'password');
// Check connection
if ($conn->connect_error) {
die('Cannot connect: ' . $conn->connect_error);
}
echo 'Connected successfully';
$conn->close();
?>