When i connect to mysql from php i got the following error. How to rectify this . Help me
Code:
<?
include("ClsOP_Connection.inc"
$ObjConnection = new OP_Connection("localhost","root","root","Orderprocessing"
$ObjConnection->Open();
?>
Warning: Access denied for user: 'root@localhost' (Using password: NO) in c:\apache\htdocs\order\ClsOP_Connection.inc on line 20
Warning: MySQL Connection Failed: Access denied for user: 'root@localhost' (Using password: NO) in c:\apache\htdocs\order\ClsOP_Connection.inc on line 20
Could not connect
Code:
<?
include("ClsOP_Connection.inc"
$ObjConnection = new OP_Connection("localhost","root","root","Orderprocessing"
$ObjConnection->Open();
?>
Warning: Access denied for user: 'root@localhost' (Using password: NO) in c:\apache\htdocs\order\ClsOP_Connection.inc on line 20
Warning: MySQL Connection Failed: Access denied for user: 'root@localhost' (Using password: NO) in c:\apache\htdocs\order\ClsOP_Connection.inc on line 20
Could not connect