help cannot connect to database

Status
Not open for further replies.

syunukiya

New Member
Messages
2
Reaction score
0
Points
0
my settings is correct but how come i still get a cannot connect to database please help me

<?php

$dbhost="localhost"; #SQL Database Hostname (Most is: localhost)
$dbusername="syunukiy_root"; #SQL Username
$dbpassword="******"; #SQL Password
$dbname="syunukiy_escadb"; #SQL Database Name

#for support please email me: m@maaking.com


// Don't touch here anything.
// Connect to Mysql
$connect = mysql_connect($dbhost, $dbusername, $dbpassword);
//Select the correct database.
$db = mysql_select_db($dbname,$connect) or die ("Could not select database");


?>
Edit:
please close already done
 
Last edited:

Gouri

Community Paragon
Community Support
Messages
4,565
Reaction score
245
Points
63
my settings is correct but how come i still get a cannot connect to database please help me

<?php

$dbhost="localhost"; #SQL Database Hostname (Most is: localhost)
$dbusername="syunukiy_root"; #SQL Username
$dbpassword="******"; #SQL Password
$dbname="syunukiy_escadb"; #SQL Database Name

#for support please email me: m@maaking.com


// Don't touch here anything.
// Connect to Mysql
$connect = mysql_connect($dbhost, $dbusername, $dbpassword);
//Select the correct database.
$db = mysql_select_db($dbname,$connect) or die ("Could not select database");


?>

Can you provide us the error and the link to the script so we can check what can be the problem?


EDIT:

Done!

Staff close the thread. Its solved.
 
Last edited:
Status
Not open for further replies.
Top