Fatal Error: Cannot connect to database, access denied. Plea

Fatal Error: Cannot connect to database, access denied. Plea

Postby pulsar21 » 7:52pm, Tue 18 Dec, 2012

Hier mein Problem:

Ich habe einen IIS 6 Server der alle http Anfrage auf http://mein.webserver.com/ entgegen nimmt. Ich habe auch eine XP Machine mit Xamp und PHPList drauf. Auf dem IIS 6 Server habe ich eine virtuelle Verzeichnis erstellt und eine Weiterleitung zum PHPlist-Verzeichnis auf der XP-Machine konfiguriert. Alles funktioniert perfekt im lokalen Netzerk, (xp-machine/phplist). Wenn ich aber auf http://mein.webserver.com/phplist/ auf die Subscription-Seite zugreifen will dann erhalte ich die Meldung: Fatal Error: Cannot connect to database, access denied. Please contact the administrator.

Kann mir jemand weiterhelfen?
pulsar21
PL Nut
 
Posts: 15
Joined: 3:40pm, Fri 04 Apr, 2008

Re: Fatal Error: Cannot connect to database, access denied.

Postby Dragonrider » 9:05pm, Tue 18 Dec, 2012

You'll need to set the database settings in lists/config/config.php file to be the same as your database
My sites:- http://wharfedalefestival.co.uk, http://ilkleygardeners.org.uk, http://emergencyaid.net, http://dragonrider.co.uk
Latest phpList version is now 3.0.12 (3 February 2015) and requires a minimum of MySQL 5.0 and PHP 5.3.x
Dragonrider
Moderator
 
Posts: 3460
Joined: 6:58am, Sun 02 Jul, 2006
Location: Ilkley, West Yorkshire, United Kingdom

Re: Fatal Error: Cannot connect to database, access denied.

Postby pulsar21 » 9:52pm, Tue 18 Dec, 2012

what you mean with "the same as the database"? The database is on the same machine where PHPList ist installed and it works perfectly when i browse through the internal network....my problem is how to reach the subscription page from the outside.
pulsar21
PL Nut
 
Posts: 15
Joined: 3:40pm, Fri 04 Apr, 2008

Re: Fatal Error: Cannot connect to database, access denied.

Postby Dragonrider » 9:19am, Wed 19 Dec, 2012

For external use, you need to have both phpList and your database externally stored on your web space.
My sites:- http://wharfedalefestival.co.uk, http://ilkleygardeners.org.uk, http://emergencyaid.net, http://dragonrider.co.uk
Latest phpList version is now 3.0.12 (3 February 2015) and requires a minimum of MySQL 5.0 and PHP 5.3.x
Dragonrider
Moderator
 
Posts: 3460
Joined: 6:58am, Sun 02 Jul, 2006
Location: Ilkley, West Yorkshire, United Kingdom

Re: Fatal Error: Cannot connect to database, access denied.

Postby pulsar21 » 12:07pm, Wed 19 Dec, 2012

my web-server (IIS6) is externaly accessible as i have my own forum running on http://mein.webserver.com/forum.
Only phplist is installed on another machine running apache and that's why I've created a virtual directory on my IIS6 webserver. but when i externaly visit http://mein.webserver.com/phplist I got Fatal Error: Cannot connect to database, access denied. Please contact the administrator
pulsar21
PL Nut
 
Posts: 15
Joined: 3:40pm, Fri 04 Apr, 2008

Re: Fatal Error: Cannot connect to database, access denied.

Postby Dragonrider » 1:20pm, Wed 19 Dec, 2012

If they are genuine links, all I get is Error 503 - Service unavailable
My sites:- http://wharfedalefestival.co.uk, http://ilkleygardeners.org.uk, http://emergencyaid.net, http://dragonrider.co.uk
Latest phpList version is now 3.0.12 (3 February 2015) and requires a minimum of MySQL 5.0 and PHP 5.3.x
Dragonrider
Moderator
 
Posts: 3460
Joined: 6:58am, Sun 02 Jul, 2006
Location: Ilkley, West Yorkshire, United Kingdom

Re: Fatal Error: Cannot connect to database, access denied.

Postby pulsar21 » 2:54pm, Wed 19 Dec, 2012

no they are only examples
pulsar21
PL Nut
 
Posts: 15
Joined: 3:40pm, Fri 04 Apr, 2008

Re: Fatal Error: Cannot connect to database, access denied.

Postby Dragonrider » 5:31pm, Wed 19 Dec, 2012

Ah, danke.

I Still feel that you must therefore have an incorrect database setting somewhere as the error is simply what it says, phplist cannot access the required database.
My sites:- http://wharfedalefestival.co.uk, http://ilkleygardeners.org.uk, http://emergencyaid.net, http://dragonrider.co.uk
Latest phpList version is now 3.0.12 (3 February 2015) and requires a minimum of MySQL 5.0 and PHP 5.3.x
Dragonrider
Moderator
 
Posts: 3460
Joined: 6:58am, Sun 02 Jul, 2006
Location: Ilkley, West Yorkshire, United Kingdom

Re: Fatal Error: Cannot connect to database, access denied.

Postby pulsar21 » 7:22am, Wed 09 Jan, 2013

If it where something wrong with the database settings then would I get the same error message when I connect internally and this is not the case? so I think that is rather a DNS and/or IIS6 redirection problem to the Apache/MySql/PHP machine wicht is phpList installed
pulsar21
PL Nut
 
Posts: 15
Joined: 3:40pm, Fri 04 Apr, 2008


Return to German forum

Who is online

Users browsing this forum: No registered users and 2 guests