Author Topic: Timeouts and DB Connect Errors  (Read 2673 times)

Offline Gus

  • Jr. Member
  • **
  • Posts: 16
Timeouts and DB Connect Errors
« on: August 02, 2007, 06:59:17 AM »
Hi there,
i wonder if someone can help please?
I'm using mysql 4.

I've installed RC1 fine (i think), edited the 2 php files and ran the SQL script.

I get 2 different issues really:

1. If the db.inc.php file states 'localhost/database_name' in the connection string ('db_dsnw'), the login screen loads fine then i get a timeout error after attempting a login.

2. If i change the db.inc.php file to show the proper domain name of my host. eg 'domain.com/database_name', i then get DB Connect errors and the login screen does not appear.

I have set the debug level to 8, and nothing is shown in the debug window in the top left.
If i set the debug level to 4, i get to see the above error messages.
Nothing is ever written to my logs folder.

Can anyone help please?

thanks,

Gus

Offline Gus

  • Jr. Member
  • **
  • Posts: 16
Re: Timeouts and DB Connect Errors
« Reply #1 on: August 02, 2007, 07:29:47 AM »
Problem Solved.

Connect string needs to be localhost. I also contact my hosting company and port 143 was blocked for outgoing traffic from my virtual server. They opened port 143 and it worked straight away.

happy days.