[Solved]: Strange Question - Password and Database [Solved]: Strange Question - Password and Database
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

[Solved]: Strange Question - Password and Database

Started by whitecom, March 19, 2009, 08:55:47 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

whitecom

This is going to be a strange one.
haven't logged into my coppermine in about a year.
Forgot password and user name.
Tried the adminpass.php and didn't work.
So went into data bases.
Guess what?
I don't see a database in my CP for coppermine.
Is it possible that coppermine can run without one, or am I just going crazy?
I can login under an old user name I had, but admin is well forgotten.
Thanks

Hein Traag

CPG can not run without using a database. So if you stil see your site, which you did not post a link to, then it does have access to a database. Check your config file to see which database your cpg is connecting to. To reset your cpg admin password do a search on this board for " Admin password reset".

Kr,
Hein

whitecom

Thanks.
That was my assumption.
I will check config and see.

Hein Traag

Assumptions are the mother of all.. etc  ;). Have fun checking and have a nice weekend.

whitecom

Ok...
When I open config I see this in it.
$redirect = "admin.php";
$message = <<< EOT
You are trying to access Coppermine's <a href="admin.php">config page</a> using an outdated link - the file config.php has been renamed to admin.php. You probably updated your site and haven't changed your theme as suggested in the <a href="docs/theme/">theme upgrade guide</a>.<br />
You are now being redirected to the actual page you were looking for.

When I look at the admin.php there is nor reference to the database name.
Any suggestions?

Hein Traag

From the CPG documentation..

Quoteduring install, coppermine needs to create and write to the file "config.inc.php" in the "include" folder in order to store the necessary mySQL access data to run coppermine and to create and write the "install.lock" file, also in the same folder to prevent the installer from being run a second time after a successful install.

whitecom

Thanks I was able to locate the database.

Now I just have to figure out how to see what it is.
(I am an idiot when it comes to DB's)

I came get to the DB through phpmyadmin.
I can see cpg14x_users, but how do I see the actual password?
I have never used phpmyadmin before and feeling lost.
Any help would be great.

whitecom

Well,
I was able to export the info in a word doc.
That got me enough info to reset it.
Thanks