|
-
Aug 1st, 2007, 01:29 AM
#1
Thread Starter
Fanatic Member
PHP MySql throws an exception
i m using php 4.4.0 and my sql version 4.1 and front end i m suing is sql yog
i provide userid/password as root/root to sql yog and it get connected with
my sql server .but when i give the same in application as follwoing
PHP Code:
$MM_conn_HOSTNAME = "localhost";
$MM_conn_DATABASE = "database name";
$MM_conn_USERNAME = "root";
$MM_conn_PASSWORD = "root";
i encounter the follwoing error in browser !!
Warning: mysql_connect(): Access denied for user 'root'@'localhost' (using password: YES) in c:\inetpub\wwwroot\hsbc\wwwroot\connection.php on line 17
Access denied for user 'root'@'localhost' (using password: YES)
means sql yog allow me to connect with server(db server) with root/root credential but at applciation level i faced problem
i do not know what is unforseen problem i have
Required help....
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|