Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Forum Search
Google Site Search
 All Forums
 Technical
 PHP (Unix / Linux / Apache) versions
 Trouble connecting to database after site attack
Author    Topic »  

gilliancowe
Starting Member

United Kingdom
6 Posts

Posted - 06/17/2026 :  18:55:47  
Hi,

My site has been using ECT for many years. There where malware attack on my server this week, where an .htaccess file was placed in every directory. I have removed the ones in my shop directory but I'm having difficulty reconnecting my database. All the credentials are correct, nothing has changed. Database is fine, and all information is there.

This is the error message (actual details replaced):-

Database Connect Error (1044) Access denied for user 'my_username'@'localhost' to database 'my_databasename'
You need to set your database connection in vsadmin/db_conn_open.php

When I click the link for help it tells me to use the createdb.php but I don't have that file.

Any help appreciated.

Many thanks,
Gillian

Vince
Administrator

43384 Posts

Posted - 06/17/2026 :  23:37:48  
Hi Gillian
I'm afraid it's really a case of, if the connection details were correct and the database exists, then you wouldn't get that message. Have you contacted your host about this as they are really the ones to help sort this out?

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

Phil
ECT Moderator

United Kingdom
7834 Posts

Posted - 06/18/2026 :  07:44:24  
Hi Gillian
If you click on my name and send me an email I'll take a look for you



*Contact Us*
*Buy The PHP Capture Card Plugin*
*Rate Our Services/View Our Feedback*

gilliancowe
Starting Member

United Kingdom
6 Posts

Posted - 06/18/2026 :  12:31:13  
Hi Vince and Phil,

Many thanks to both of you.

Vince I haven't tried the hosting company yet. I popped the post on here hoping you guys had a quick fix.

Phil, I have sent you an email, thank you so much for your kind offer.

Gillian


Edited by - gilliancowe on 06/18/2026 12:40:38

Phil
ECT Moderator

United Kingdom
7834 Posts

Posted - 06/18/2026 :  12:53:15  

gilliancowe
Starting Member

United Kingdom
6 Posts

Posted - 06/18/2026 :  13:13:59  
Hi,

Problem solved. I created a new user for the database, then replaced the username in the db_conn_open.php file and that did the trick.

Many thanks,
Gillian



     Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.02 seconds. Snitz Forums 2000