install.php first installation: create in automatic the db? install.php first installation: create in automatic the db?
 

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.php first installation: create in automatic the db?

Started by rob222, October 26, 2004, 11:49:59 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

rob222

I am in standalone on my pc (not in hosting).

Why the first installation coppermine 1.3.2 no to create automatic database mysql ?

I haved this error: no possible connection to DB.

And then I have  created the db, by phpmyadmin and the sql Schema.

After I have created the db, I haved access to admin only if  I not insert user and password for db;
Too if in the config.inc.php there is user and  password. !!!

For to create DB I have used Schema, but Upload and Basic I do not to use?
n.b. for coppermine 1.3.2:

I think that Upload is how Schema only for the section that create the  update of  tables;

but is different for section that insert value into table;

Basic insert value, but is too differenct of Update;

So I think:
Schema is for create db,
Basic is for insert value (is necessary?) and  Update is only for continue to insert value .

But the problem is that I must by hand to clear  the Updata's code  that update Schema's tables.
Is so?

Joachim Müller

the minimum requirements for coppermine are (among others): mySQL set up properly, with at least one db already created where coppermine can create the necessary tables during install. The question
Quote from: rob222 on October 26, 2004, 11:49:59 PMWhy the first installation coppermine 1.3.2 no to create automatic database mysql ?
is irrelevant, a PHP script simply can not create a database for most users. If you're running your own server, you should be able to create one - if you can't, you shouldn't be running your own webserver in the first place, or you should find out how to run it.
It's not necessary to use the sql files from coppermine to create the tables within the database (that's something the coppermine installer will take care of once you have properly created a database). I suggest you undo/delete all tables in this database and start from scratch, using the coppermine installer (you will have to delete include/install.lock to run the installer a second time).

Joachim