Re: MySqlDatabase Problem!
Posted: 28 Jan 2012, 22:32
Long story short!
I downloaded and installed FileZilla FTP client today with the intention of trying to cleanup the remnants of my hacked site www.stitch-up.biz
I did a VERY STUPID THING! Thinking I could simply delete the whole file structure and start again - I did just that!!! Consequently I lost my email accounts for stitch-up.biz and all the other sub-domains. Some of the sub-domains are those of my family and the phone soon started ringing! By now, I realised how stupid I'd been!
Anyway, i searched for the last backup I'd made and found one from August 2010. As I haven't added any sub-domains since then, I tried to upload via ftp to the root of my stitch-up.biz domain. Remarkably it worked & I got all my email accounts back - PHEW!
So I decided to try and access my website www.stitch-up.biz but get the following error:
Warning: mysql_connect() [function.mysql-connect]: Access denied for
user 'stitchu1_stitch'@'localhost' (using password: YES) in
/home/stitchu1/public_html/includes/functions/database.php on line
19
Unable to connect to database server!
I'm likely to have changed the password since my site was hacked and after the backup now restored. Is this the reason for the error?
I looked at line 19 in database.php and there were references to $username & $password. Should I edit this line or are these variables picked up elsewhere?
Not really knowing what I'm talking about - can anyone shed some light on the matter?
Cheers
John
I downloaded and installed FileZilla FTP client today with the intention of trying to cleanup the remnants of my hacked site www.stitch-up.biz
I did a VERY STUPID THING! Thinking I could simply delete the whole file structure and start again - I did just that!!! Consequently I lost my email accounts for stitch-up.biz and all the other sub-domains. Some of the sub-domains are those of my family and the phone soon started ringing! By now, I realised how stupid I'd been!
Anyway, i searched for the last backup I'd made and found one from August 2010. As I haven't added any sub-domains since then, I tried to upload via ftp to the root of my stitch-up.biz domain. Remarkably it worked & I got all my email accounts back - PHEW!
So I decided to try and access my website www.stitch-up.biz but get the following error:
Warning: mysql_connect() [function.mysql-connect]: Access denied for
user 'stitchu1_stitch'@'localhost' (using password: YES) in
/home/stitchu1/public_html/includes/functions/database.php on line
19
Unable to connect to database server!
I'm likely to have changed the password since my site was hacked and after the backup now restored. Is this the reason for the error?
I looked at line 19 in database.php and there were references to $username & $password. Should I edit this line or are these variables picked up elsewhere?
Not really knowing what I'm talking about - can anyone shed some light on the matter?
Cheers
John