1
johmo
Can i find out the user and pass for the database somehow?
  • 2007/1/23 19:43

  • johmo

  • Just popping in

  • Posts: 61

  • Since: 2006/9/9 1


My STUPID hosts (Dot 5 NEVER EVER EVER go with them)

Kept messing around with my account whilst trying to fix it.

The buggers deleted my databases. Fortunately i had a back up, a day old, but sods law on my dormant site someone posted after the back up. But that isnt the issue.

I cant remember the database user and password i used to set up xoops.

help?

2
carnuke
Re: Can i find out the user and pass for the database somehow?
  • 2007/1/23 20:10

  • carnuke

  • Home away from home

  • Posts: 1955

  • Since: 2003/11/5


Simple: get your hosts to reset your login details (password) the database does not change, it's only the permission to connect to it that matters. Once they issue you with a new username/password, you just upload it and connect as usual.
hhttp://houseofstrauss.co.uk Resource for alternative health and holistic lifestyle
search xoops

3
wodnick
Re: Can i find out the user and pass for the database somehow?
  • 2007/1/23 20:11

  • wodnick

  • Just popping in

  • Posts: 32

  • Since: 2006/12/30


Hi there!

Look for the file -> /mainfile.php
Then find strings shown below - there is an answer :)

// Database Username
// Your database user account on the host
define('XOOPS_DB_USER', 'user');

// Database Password
// Password for your database user account
define('XOOPS_DB_PASS', 'pass');

// Database Name
// The name of database on the host.
define('XOOPS_DB_NAME', 'dbasename');

regards,
wodnick
========
Pozycjonowanie

4
johmo
Re: Can i find out the user and pass for the database somehow?
  • 2007/1/23 20:23

  • johmo

  • Just popping in

  • Posts: 61

  • Since: 2006/9/9 1


Thanks wodnick, i just found it before i came back to update.

I had the main website then mainwebsite/beta so i could test things out first.

I managed to save the right database for the main website but unfortunately i backed up the wrong database, so i lost the database for the beta.

Login

Who's Online

360 user(s) are online (57 user(s) are browsing Support Forums)


Members: 0


Guests: 360


more...

Donat-O-Meter

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

Latest GitHub Commits