#1 2003-01-31 23:09:43

rashid
Guest

Where is the database?

Hellow, may be stupid my question. But I'm beginer.

I download the scripts, and it's working, but when I'm tryng to use:
http://localhost/PHPWebGAllery/admin/in … ge=english

It told me:
Connection to server succeed, but it was impossible to connect to database

Then, I don't know hoy to build this db.

HOw?

Thanks.
8O

 

#2 2003-02-01 10:11:13

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
14068

Re: Where is the database?

it depends where your site is hosted. As far as the install tool tells you it can connect to the server, it means that it finds a MySQL server. But you have to know the database name you can access. If you're hosting your site @ home, you have to create your database by yourself.

Telle me first if you host your site on your personnal computer or if you have a remote host.

Offline

 

#3 2003-02-01 13:57:17

Banned

Re: Where is the database?

Thanks.

It means that if I put this on the web I don't need to create a DB (it will be created automatically?).

But If I work locally I need to create manually the DB?

Now I'm working locally, but I can Upload all to a web server.

8O

 

#4 2003-02-01 15:16:25

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
14068

Re: Where is the database?

Generally, with your web account, you have a database already created.

If you're @ home, you have to create it manually.

Offline

 

#5 2003-02-01 15:29:56

Banned

Re: Where is the database?

How do I know what tables, properties, etcetera, the tables in the database are?

locally.

 

#6 2003-02-01 16:20:14

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
14068

Re: Where is the database?

Windows or Linux ?

If you install easyphp on windows, you must have PhpMyAdmin on http://localhost/admin/

If you're under linux, you should know better than me if mysqld is running and if you installed PhpMyAdmin and how to access it.

Offline

 

#7 2003-02-01 16:55:39

Banned

Re: Where is the database?

thanks.
I got it working now on my web server.

You are made a great work!
:D

 

#8 2003-02-01 23:01:48

Banned

Re: Where is the database?

Now, I know that first I need create the DB and users, then conect this whit the install.php page.
I do it on my web server, and it works.
But locally, I made the same things and install.php send me this error:

Notice: Undefined variable: prefixe_thumbnail in C:PHP2PhotoalbumPHPWebGAllerylanguageenglish.php on line 438

Warning: Cannot add header information - headers already sent by (output started at C:PHP2PhotoalbumPHPWebGAllerylanguageenglish.php:438) in C:PHP2PhotoalbumPHPWebGAlleryadmininstall.php on line 216

Warning: Cannot add header information - headers already sent by (output started at C:PHP2PhotoalbumPHPWebGAllerylanguageenglish.php:438) in C:PHP2PhotoalbumPHPWebGAlleryadmininstall.php on line 217

Warning: Cannot add header information - headers already sent by (output started at C:PHP2PhotoalbumPHPWebGAllerylanguageenglish.php:438) in C:PHP2PhotoalbumPHPWebGAlleryadmininstall.php on line 218


Why?

What I need to do?

Thanks.

 

#9 2003-02-02 09:11:43

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
14068

Re: Where is the database?

ok, I know this pb : it comes from IIS. There are too many pbs with this server. Please, install Apache, you won't have pbs any more.

Offline

 

Board footer

Powered by FluxBB