php-windows Digest 4 Jul 2003 20:47:37 -0000 Issue 1809
Topics (messages 20683 through 20688):
Re: can't connect to mysql
20683 by: Cristian MARIN
20684 by: Uttam
Re: session problems - WinXP - Apache 1.3 - PHP 4.3.2
20685 by: Raymond
20686 by: Luis Ferro
Re: Fatal error with 'DB.php'
20687 by: jsWalter
Error with IIS
20688 by: Klaus Reichl
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
The using password:YES it doesn't mean the user require a password (this can
be a security hole by displaing this message) ... it means that the user
which is trying to connect are using a password to connect to mysql.
Second: the error doesn't mean that the user are using a bad password or a
password at all (in this case the error is bad password) it means that your
user (the [EMAIL PROTECTED] are a different user then the [EMAIL PROTECTED]) are
not authorised to login into the mysql. For each host from which you are
trying to connect youi should add from the [EMAIL PROTECTED] an entry to the
mysql database into the host and user tables with the action writes that the
user is authorised to do for a db or for every db ...
Indeed you should read more careffuly the mysql manual in how to add users,
how the password are crypted, and how to give the users appropriate rights.
However this is not a php problem ... this is a mysql problem
--
-------------------------------------------------
Cristian MARIN - Developer
InterAKT Online (www.interakt.ro)
Tel: +4021 312.53.12
Tel/Fax: +4021 312.51.91
[EMAIL PROTECTED]
"Doris Pelger .:. Eva Horner" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi Zicux
> Using password: YES, means that you have to use the password when
connecting
> to the db.
>
> If you cannot connect with your password, you do not have the proper
rights.
> You could then turn to the MySql manual and check the "Grant" and
privileges
> section.
>
> Cheers,
> Doris
>
> ----- Original Message -----
> From: "zicux" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, July 03, 2003 11:35 PM
> Subject: [PHP-WIN] can't connect to mysql
>
>
> > Hello,
> >
> > I have a problem with connecting to MySQL. It gives out message like
> > this:
> > "Warning: mysql_connect(): Access denied for user:
> '[EMAIL PROTECTED]' (Using password: YES)"
> > What the heck does that password YES mean, cause I use another
> > password.
> >
> > --
> >
> > zicux mailto:[EMAIL PROTECTED]
> >
> >
> >
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
>
--- End Message ---
--- Begin Message ---
YES means a password was used by client for connecting to server.
regds,
-----Original Message-----
From: zicux [mailto:[EMAIL PROTECTED]
Sent: Friday, July 04, 2003 03:06
To: [EMAIL PROTECTED]
Subject: can't connect to mysql
Hello,
I have a problem with connecting to MySQL. It gives out message like
this:
"Warning: mysql_connect(): Access denied for user:
'[EMAIL PROTECTED]' (Using password: YES)"
What the heck does that password YES mean, cause I use another
password.
--
zicux mailto:[EMAIL PROTECTED]
--- End Message ---
--- Begin Message ---
hi hector,
i've this problem too. my setup is winxp, ms iis 5.1, php 4.3.1.
may i know have you manage to solve this problem? if yes, how to solve it?
thanks and regards,
raymond
===============================================
"Hector Lumang" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Hi,
I am experiencing problems with session handling on WinXP. I noticed that
evertime I use session_start(), a new session id is produced - and so (I
think), session data could not be passed to the succeeding pages. How do I
prevent this from happening? Has anybody come across this problem before
and if so, how was this resolved?
Thanks in advance for any response about the matter. My setup is WinXP -
Apache 1.3.27 - PHP 4.3.2. I had the same problem when I used IIS5.
Regards,
Hector
--- End Message ---
--- Begin Message ---
In PHP.ini file (somewhere in the %windows% directory), there is a
directory referenced as:
session.save_path = c:/winnt/temp
Check 2 things:
a) that the directory in that entry is set to an existing directory of
which the process running the web server has read/write permissions
b) when issueing a new session, a session file is created...
That will eliminate one source of the problem... (without session files,
the standard session management will create a new session everytime).
Cheers,
Luis Ferro
TelaDigital.Net
Raymond wrote:
hi hector,
i've this problem too. my setup is winxp, ms iis 5.1, php 4.3.1.
may i know have you manage to solve this problem? if yes, how to solve it?
thanks and regards,
raymond
===============================================
"Hector Lumang" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Hi,
I am experiencing problems with session handling on WinXP. I noticed that
evertime I use session_start(), a new session id is produced - and so (I
think), session data could not be passed to the succeeding pages. How do I
prevent this from happening? Has anybody come across this problem before
and if so, how was this resolved?
Thanks in advance for any response about the matter. My setup is WinXP -
Apache 1.3.27 - PHP 4.3.2. I had the same problem when I used IIS5.
Regards,
Hector
--- End Message ---
--- Begin Message ---
"Cristian Marin" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> There are two modes to solve this:
> - First when you are calling the file give the exact path from the file
you
> are calling to the DB.php
OK, I did...
require_once 'G:\etc\php\PEAR\DB.php';
This displayed nothing.
> - second, the 'include_path = ' is a php.ini property so is there you have
> to add the path to the DB.php
>
> The php try first to access the DB.php directly assuming the file is in
the
> same directory,
same directory as what?
the php executable or the calling script?
DB.php is in the dir as php.exe
> if it can't find him it will search the file into the paths
> defined in the include_path property. That's why you see the error that it
> can't find the file into the include_path.
> Try the first solution.
Thanks Cristian for the idea, but I should have given you what I had in my
INI to begin with...
That was the first thing I did...
include_path = ".;G:\etc\php\extensions;G:\etc\php\pear"
extension_dir = "G:\etc\php\extensions"
I thought if I placed the path to the PEAR files in the 'include_dir' value
all would work.
Nope.
It still wants 'C:\php4\pear'
:(
Thanks
Walter
--- End Message ---
--- Begin Message ---
Hello everybody !
I want to run PHP 4.3.2 on my IIS 5 on Win2000 Server.
When i want to open an .php file I always receive the error message "The
specified module can't be found".
I assume it is an beginners error I made, I took all steps explained on MS
Technet
http://www.microsoft.com/technet/treeview/default.asp?url=/technet/prodtechn
ol/iis/iis5/deploy/depovg/miglamp.asp but it doesn't seem to be enough.
I also saw in the ISAPI-Filters (in the properties of the domain where I
want to add the PHP support) the phpisapi4.dll is added but has the Status
"Not loaded" - maybe this helps you.
As I found this bug in your support page where it is told to contact you I
now do so.
Thank you for your help,
Best regards, Klaus Reichl
--- End Message ---