Jump to content
Sign in to follow this  
eur0

Unable to login (Emptied Administrators table)

Recommended Posts

Posted (edited)

Hello,

I recently changed my admin password in oscommerce  and forgot it. I tried this method I found on YouTube: (112) Forgot your Admin Password in osCommerce - YouTube

I went into phpmyadmin, then clicked on my oscommerce database, selected Administrators then clicked on EMPTY.

 

Now my website/catalog or admin panel won't come up. It says " Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'my user name'@'my ip' (using password: YES) in /home/256/html/content/56/8720catalog/admin/includes/functions/database.php on line 19 Unable to connect to database server!" 

 

Could someone please point me in the right direction as I have to get into the admin side of my catalog to access orders. Thank you in advance, I am a bit out of the loop as it's been 10 years since I set this up. If someone can help me I will buy you dinner via paypal, venmo or cashapp. 

Edited by eur0

Share this post


Link to post
Share on other sites
Posted (edited)

Update. The front end of my site/catalog is working now but not the back end admin panel isn't, I get the same line 19 unable to connect to database server. I did change the password to my database today in the phpmyadmin page. Could this be the reason why I get the error and unable to login to the admin side of OS? If so is there an easy solution to fix this? Thanks.

Edited by eur0

Share this post


Link to post
Share on other sites

Figured it out. The solution was manually changing the password in Catalog/includes/configure.php and Admin/includes/configure.php and that resolved everything. 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×