1
gtana
i get this error when tring to install xoops, plz help
  • 2003/12/13 19:20

  • gtana

  • Just popping in

  • Posts: 7

  • Since: 2003/12/13


i get this error when i go to install xoops:

Fatal error: Unable to connect to database in /home/gtana/public_html/xoops/class/database/databasefactory.php on line 34

help plz

edit: i have tried replacing it 2wice

2
svaha
Re: i get this erro plz help
  • 2003/12/13 20:25

  • svaha

  • Just can't stay away

  • Posts: 896

  • Since: 2003/8/2 2


The error is that XOOPS can't connect to the database.
Did you (or your host) make a new database to be used by xoops?

Aloha

3
gtana
Re: i get this erro plz help
  • 2003/12/14 12:04

  • gtana

  • Just popping in

  • Posts: 7

  • Since: 2003/12/13


i have made a new database and a user with full access permissions.

4
DonXoop
Re: i get this erro plz help

Assuming you have the correct database details are you sure that your PHP has MySQL support running? Try creating a .php file with:
<?php phpinfo(); ?>

It should give you all the details of your PHP. MySQL and version is listed as well.

5
gtana
Re: i get this erro plz help
  • 2003/12/14 15:00

  • gtana

  • Just popping in

  • Posts: 7

  • Since: 2003/12/13


Operating system Linux
Kernel version 2.4.20-6
Apache version 1.3.29 (Unix)
PERL version 5.8.1
PHP version 4.3.3
MySQL version 4.0.15-standard
cPanel Build 8.5.4-RELEASE 72

here are sum of my host's stats

6
CBlue
Re: i get this erro plz help

Did you install using the database name, database username and password that go with the new database that you created for XOOPS in your MySQL admin of your Cpanel?

Make sure you installed entering the correct database name.

7
gtana
Re: i get this erro plz help
  • 2003/12/18 15:59

  • gtana

  • Just popping in

  • Posts: 7

  • Since: 2003/12/13


i have a MySQL database and a user with full permissions and when i type in the url for where it is installed, that error shows up.

8
Herko
Re: i get this erro plz help
  • 2003/12/18 16:01

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


Yes, but this means that XOOPS can't connect to the database you created, either the server can't be found, or the db username/password is incorrect. So check those in your mainfile.php.

Herko

Login

Who's Online

230 user(s) are online (138 user(s) are browsing Support Forums)


Members: 0


Guests: 230


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits