HELP!
I just set up PHP, MySQL, and PHPMYADMIN. PhpMyAdmin is working so both applications must be working. When I run a phpscript to connect to the database, i get "cannot make conection". Did I do something wrong?
Heres the connection script im using to connect.
$hostname = "localhost";
$username = "root";
$password = "medivas1";
$database = "medivas";
$connection = mysql_connect($hostname , $username , $password)
or die("cannot make connection");