roshn.singh65
New Member
- Messages
- 2
- Reaction score
- 0
- Points
- 0
Hi,
I found a lot of relevant entries in forum and the wiki and i am still struggling to fix this:
Link: http://sroshan.x10.bz/v.php
This is what i am using in my PHP script:
$db = 'sroshan_temp';
$host = 'localhost';
$user = 'sroshan_roshan';
$pass = 'xxxx';
$link = mysql_connect($host, $user, $pass);
if (!$link) {
die('Could not connect: ' . mysql_error());
}
This is what I see on the page:
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'sroshan_sroshan'@'web4.vital.x10hosting.com' (using password: YES) in /home/sroshan/public_html/v.php on line 10
Could not connect: Access denied for user 'sroshan_sroshan'@'web4.vital.x10hosting.com' (using password: YES)
I found a lot of relevant entries in forum and the wiki and i am still struggling to fix this:
Link: http://sroshan.x10.bz/v.php
This is what i am using in my PHP script:
$db = 'sroshan_temp';
$host = 'localhost';
$user = 'sroshan_roshan';
$pass = 'xxxx';
$link = mysql_connect($host, $user, $pass);
if (!$link) {
die('Could not connect: ' . mysql_error());
}
This is what I see on the page:
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'sroshan_sroshan'@'web4.vital.x10hosting.com' (using password: YES) in /home/sroshan/public_html/v.php on line 10
Could not connect: Access denied for user 'sroshan_sroshan'@'web4.vital.x10hosting.com' (using password: YES)