Install - not hooking up to mySQL Install - not hooking up to mySQL
 

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

Install - not hooking up to mySQL

Started by rrace, March 05, 2004, 02:35:52 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

rrace

Running the install.php I got an error the sql connection could not be made or the database not found. The following message:

Could not create a mySQL connection, please check the SQL values entered

MySQL error was : Access denied for user: 'rrace@localhost' (Using password: YES)


I then uploaded all the sql's into the database I created use phpMyAdmin.  I viewed the config.inc.php and the MySQL parameters appear correct.

when I try to login to coppermine/index.php, I get the following:

Coppermine critical error:
Unable to connect to database !

MySQL said: Access denied for user: 'rrace@localhost' (Using password: YES)

The SQL values are correct, the user name and password are correct.

any thoughts?

Just tried to use the same database as phpbb2, which is working and active and still the same message; username and password work with phpBB2, so I am lost. It just seems to be this application, I have tried it on two different servers.

R Race

Joachim Müller

if you have created the tables "manually" (using the queries from the sql folder), you'l have to manually create a file called config.inc.php in the includes folder (look at the sample file that is in the include folder as well to give you an idea what should be inside it).
Also, make sure to either delete install.php or create a file called install.lock inside the include dir to prevent people from running the installer a second time, ruining your "manual" install once it's set up and running.

GauGau

rrace

Thanks.  That is what confuses me, the file config.inc.php was created by Coppermine install and the username and password look correct.  [the same as I have for other programs such as the phpBB2].  But no matter what I do, it will not connect with the database.

Puzzling.  I was looking for maybe something else or another place for settings to check.

R Race