I can't connect to mysql server using the following php function?

Aman Grover

New member
$dbc = mysqli_connect('localhost', 'username', 'password','elvis_store')
or die('error connecting to MySQL server.');

i tried every combination.. my username and password are correct.. but still it shows "error connecting to MySQL server" . I have mysql(i) functions installed , but stil m stuck here for a while now... please help me out!
 
Back
Top