shellybranchportfolio
New Member
- Messages
- 1
- Reaction score
- 0
- Points
- 0
Hi,
I keep getting an access denied error when I try to connect my php file to the MySQL database. Here is my connection code, please tell me what I am doing wrong.
$dbhost = 'localhost';
$dbuser = 'search';
$dbpass = '1Search2';
$conn = mysql_connect($dbhost, $dbuser, $dbpass) or die ('Error connecting to mysql');
$dbname = 'shellyb_dbFamily1';
mysql_select_db($dbname);
Thanks
I keep getting an access denied error when I try to connect my php file to the MySQL database. Here is my connection code, please tell me what I am doing wrong.
$dbhost = 'localhost';
$dbuser = 'search';
$dbpass = '1Search2';
$conn = mysql_connect($dbhost, $dbuser, $dbpass) or die ('Error connecting to mysql');
$dbname = 'shellyb_dbFamily1';
mysql_select_db($dbname);
Thanks