coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: StookerT on December 25, 2003, 08:35:03 PM

Title: Problem with accounts + password
Post by: StookerT on December 25, 2003, 08:35:03 PM
Hi there,

I got a problem after installing coppermine, I can't log in  :cry:

After getting throught the install.php it says: Ready for use, you can login. And I use the exact same names and passwords as I used at the install screen.

Anybody knows what my problem is ?
Title: Problem with accounts + password
Post by: Casper on December 25, 2003, 09:14:07 PM
Have you access to the database, via phpMyAdmin, or similar.

If so, open the _users table, and browse to your name.  If this is a new install, there should only be your name.

Check what is has for your user_name and user_password, amend if required, then use that to log in.

Good luck
Title: Problem with accounts + password
Post by: StookerT on December 25, 2003, 10:36:10 PM
Tried that,

But I get the: "Couldn't login" screen  :cry:
Title: Problem with accounts + password
Post by: StookerT on December 26, 2003, 01:19:01 AM
This is the info from my admin screen from the host:

Connection Strings
Perl $dbh = DBI->connect("DBI:mysql:stooker_Test:localhost","stooker_Test","<PASSWORD HERE>");
PHP $dbh=mysql_connect ("localhost", "stooker_Test", "<PASSWORD HERE>") or die ('I cannot connect to the database because: ' . mysql_error());
mysql_select_db ("stooker_Test");  
JDBC (may not be available) <%@ page import="java.sql.*" %>
               Connection connection = null;
               Class.forName("org.gjt.mm.mysql.Driver").newInstance();
               connection = DriverManager.getConnection(
                  "jdbc:mysql://localhost/stooker_Test?user=stooker_Test&password=<PASSWORD HERE>");
 
------------------------------------
After clean install I can't log in with the same info I put in the install.php screen.


And still I couldn't log in seem like the database has no connection or what ?
Title: Problem with accounts + password
Post by: Casper on December 26, 2003, 10:44:44 AM
I may be missing something else simple, but it is telling you your username is 'stooker_Test', not just 'Test'.

Try logging on filling in the username as 'stooker_Test'
Title: Problem with accounts + password
Post by: Joachim Müller on December 26, 2003, 11:04:43 AM
you mustn't show your mySQL database username and password in public, modify your above posting!

GauGau