Reply to Re: Database connection issues

Your name:

Reply:


Posted by Rik on 07/16/07 20:42

[topposting fixed]

On Mon, 16 Jul 2007 22:28:14 +0200, mtuller <mituller@gmail.com> wrote:
> On Jul 16, 3:15 pm, Rik <luiheidsgoe...@hotmail.com> wrote:
>> On Mon, 16 Jul 2007 22:10:56 +0200, mtuller <mitul...@gmail.com> wrote:
>> > I am having very strange issues today. The scripts that I have, that
>> > worked fine on Friday, now do not work properly. I can connect fine
>> > with a client application like MySql tools. I can do queries, and
>> > everything. I can even connect properly with mysqli, but apps that use
>> > mysql to connect do not retrieve the information needed. I don't get
>> > errors, so I don't know what is going on. This all worked for weeks
>> > until this weekend. I am at a loss as to what this could be.
>>
>> > I also tested by connecting to a different database, and the same
>> > results. PHP isn't reading and writing to the database properly.
>>
>> > I have no idea where to start, so if anyone has some idea, please let
>> > em know.
>>
>> First course of action: ask the hoster what they've changed. MySQL isn't
>> automatically included in packages anymore, maybe they did not realize
>> that while upgrading.
>>
>> Then again, you should either get errors or empty recordsets. Are you
>> sure
>> display_errors is enabled with a proper error_reporting setting? 'Does
>> not
>> work properly' does not compute here. Exactly what doesn't work, and
>> how.
>
> It's on my server. Not an ISPs. display_errors is on.

Check, and error_reporting level?

> The only thing I can think of is that I ran apt-get upgrade. There was
> an error, that something wasn't installed, but I don't think it was
> anything to do with apache or php. I thought it was earlier last week
> though, before Friday.

OK, so what is the error? What is the output of a single mysql_connect()
call? Does it give a resource? If yes, how are queries reacting, etc.,
etc. More info about what exactly is going wrong is required here.

--
Rik Wasmus

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация