You are here: Re: PHP cannot see MySQL!!!!!!!! « PHP Language « IT news, forums, messages
Re: PHP cannot see MySQL!!!!!!!!

Posted by C. on 10/22/07 11:23

On 21 Oct, 01:45, "David" <m...@privacy.net> wrote:
> I have php and mysql both working seperately but not together
>
> <?php phpinfo(); ?> - Shows everything working fine but no mention of
> Mysql in it.
>

Good start.

> Mysql is setup and working properly. Users and databases all connect fine
>

That last sentence makes no sense.

> All my PHP scripts which have mysql connection info just show as a blank
> page. No error messages.
>

Are we trying to solve poor programming or a bad system config here?
Have you tried to enable error reporting? checked your log files?
Implemented your own error handler?

> Any ideas?!. Would appreciate any input, its driving my crazy.

You should probably start by installing and configuring MySQLAdmin
(http://www.phpmyadmin.net/home_page/index.php) which has better error
handling built in - if you can't get that to work then try reposting
with specific error messages, and which versions of each software you
are using on what platforms and examples of how your code tries to
connect.

Taking a wide stab in the dark, it maybe mysql's interpretation of
'localhost' - read this before reposting:

http://dev.mysql.com/doc/refman/5.0/en/can-not-connect-to-server.html

C.

 

Navigation:

[Reply to this 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

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