1
lazaro
Database Problem Help Plz Im New!!! Thanks
  • 2007/1/27 4:27

  • lazaro

  • Just popping in

  • Posts: 4

  • Since: 2007/1/26


I have a problem. with database
there is a error message like this:

Could not connect to the database server.
Please check the database server and its configuration.

I Need Help Please:( !!! Thanks!! A Lot!! Guys!!

2
irmtfan
Re: Database Problem Help Plz Im New!!! Thanks
  • 2007/1/27 5:06

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


if you dont change any files its probably an issue in your MySQL server.

anyway check database name and user/pass in your mainfile.php

3
lazaro
Re: Database Problem Help Plz Im New!!! Thanks
  • 2007/1/27 5:09

  • lazaro

  • Just popping in

  • Posts: 4

  • Since: 2007/1/26


Sorry to bother you but how can i do that? ?

4
irmtfan
Re: Database Problem Help Plz Im New!!! Thanks
  • 2007/1/27 5:28

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


mainfile.php is in your root directory ( the directory that you install xoops)

you should check your XOOPS_DB_NAME XOOPS_DB_USER AND XOOPS_DB_PASS and see if they are correct

but as i said before if you dont touch anything its an issue from your server side.contact to your hosting provider.

5
lazaro
Re: Database Problem Help Plz Im New!!! Thanks
  • 2007/1/27 5:32

  • lazaro

  • Just popping in

  • Posts: 4

  • Since: 2007/1/26


ohh ok thanks a lots.. let me see what happens...

6
lazaro
Re: Database Problem Help Plz Im New!!! Thanks
  • 2007/1/27 5:37

  • lazaro

  • Just popping in

  • Posts: 4

  • Since: 2007/1/26


THE SAME THING HAPPEN AGAIN!

7
irmtfan
Re: Database Problem Help Plz Im New!!! Thanks
  • 2007/1/27 8:17

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


1- do you create a database using Cpanel?
2- do you create a user for your database in Cpanel
3- do you assign that user to your database?
4- do you check all variables in mainfile.php?

8
jensclas
Re: Database Problem Help Plz Im New!!! Thanks

Quote:
THE SAME THING HAPPEN AGAIN!

and please do not shout.

To connect you XOOPS installation to a database you need three items:

1. A database name.

2. A database username

3. A database password.

All of this information is stored in mainfile.php so XOOPS can automatically connect to the database as needed.

So you need to check everything as you have been advised by everyone. There is more information about Databases in the FAQ section. Please also note this:

New users should always checkout the following:
1. Documentation - linked on the left. Specifically the administration manual
2. The FAQ section - linked on the left - specifically the sections on gloassry, beginners first steps, modules, blocks and themes. There are links to visual tutorials here.
3. The search function on the top right.
Please check also the read B4U post link below if you have problems.

For Visual tutorials please go here

Login

Who's Online

481 user(s) are online (343 user(s) are browsing Support Forums)


Members: 0


Guests: 481


more...

Donat-O-Meter

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

Latest GitHub Commits