Reply to Re: mysql_connect stops via php

Your name:

Reply:


Posted by farhan on 11/05/07 02:23

> But can you do it from a command line on your web server? That is, are
> you running your web server on your local machine, or is it on another
> one? And if it is another server, can you connect to the MySQL database
> from the command line there?

I don't know how to use the command line of the web server - just via
the browser. Yes, the web server is running on my local machine. When
I say command line, I mean the mysql executable which I believe is a
different binary to the one the web server uses. Connecting from the
web server on which the MySQL server is running poses no problems.

> IOW you could still have mixed file versions - some from 4.x and some
> from 5.1. That doesn't sound good.

Yes, this is possible, but I don't know what other associated files
there are besides the ones in /lib and /usr/bin.

> What happens if you try to connect with an invalid userid/password
> and/or to an invalid system?

If the syntax is wrong, then I get a parser error in the apache logs.
When using wrong parameters, then the result is the same as my
original.

-Farhan

[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

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