12 messages in com.mysql.lists.mysqlRe: Connect fails but only from this ...| From | Sent On | Attachments |
|---|---|---|
| YL | 30 Oct 2005 07:24 | |
| Paul DuBois | 30 Oct 2005 12:22 | |
| SGr...@unimin.com | 30 Oct 2005 12:53 | |
| YL | 30 Oct 2005 17:22 | |
| SGr...@unimin.com | 30 Oct 2005 18:22 | |
| YL | 30 Oct 2005 19:21 | |
| SGr...@unimin.com | 30 Oct 2005 20:25 | |
| YL | 30 Oct 2005 23:15 | |
| Gerald Taylor | 31 Oct 2005 05:41 | |
| Jeremiah Gowdy | 31 Oct 2005 07:40 | |
| Michael Stassen | 31 Oct 2005 08:06 | |
| Gleb Paharenko | 31 Oct 2005 09:02 |
| Subject: | Re: Connect fails but only from this one file WHY![]() |
|---|---|
| From: | Michael Stassen (Mich...@verizon.net) |
| Date: | 10/31/2005 08:06:17 AM |
| List: | com.mysql.lists.mysql |
Gerald Taylor wrote:
i am developing a php app. in the beginning of every file there is a require_once("./setup.php"); that does the housekeeping, fetches the connection credentials and connects to the database. All that worked fine until this morning I made a new file.
Now I get a connection failure when I try to connect but ONLY from this one php file. I can connect to the server fine manually, the server is not unduly loaded, all the other apps that use this db server are fine and even the other files in THIS app using THIS particular db seem to be connecting fine. Well actually I should say that one of the other files *did* get this error once but on a subsequent call it corrected itself. I should also say that the "bad" file did connect fine the first time I ran it but I haven't been able to make it do it since. Is it possible that the bad new file is doing something bad that boggles subsequent connections? If so what?
It is using exactly the same include file that works in all the other files. I'm stumped Thank you...
Without seeing the code or the error message(s), it is impossible to say. Show us your connection code from the include file (hide the password, of course). Show us the error you get from mysql. With that info, I'm sure someone can diagnose the problem.
Michael




