Forums

PHP

This topic is locked

PHAkt PHP problem connecting

Posted 21 Feb 2002 03:11:11
1
has voted
21 Feb 2002 03:11:11 James Giordano posted:
First off, I am running W2K with PHP 4.0.6 and MySQL 3.23.44-nt
running fine on my machine. I am able to make a normal connection in
PHP and query it. I also upload my sites to another server running the
same configuration, but it is Linux (I believe).

I d/l'ed the PHAkt extensions and I am trying to get them to work in
DW UD. Here is the configuration I use :

Ultradev Connection
DB Type : MySQL
Host : localhost
URL : jdbc:mysql://localhost/JimTest
User Name : jg
Password : ********* (correct one)

PHP Connection
DB Type : MySQL
Host : giordano (name of my computer)
Database name : Jim_Test
User Name : jg
Password : ********* (correct one)

When I query this in UD it works perfectly. I can see all the fields
returned in the recordset and everything is great. The problem lies
when I save the file and browse through my browser. The URL I use :

giordano/Test.php

And I get the following error :

Warning: Access denied for user: 'jg@GIORDANO' (Using password: YES)
in C:\Inetpub\wwwroot\etalinc\mps\adodb\adodb-mysql.inc.php on line
113

Would anyone have a clue as to what I am doing wrong? The user jg has
all rights on my box in MySQL. Just can't for the life of me figure
this out. Thanks to all that reply,

JJ


Replies

Replied 21 Feb 2002 22:54:55
21 Feb 2002 22:54:55 chief monkey replied:

I would start to de-bug it by changing
jg@GIORDANO to jg@localhost

George


Everybody has got to be somewhere
Replied 22 Feb 2002 13:29:17
22 Feb 2002 13:29:17 James Giordano replied:
THAT WAS IT - Local host did the trick! Thanks so much for your reply.

JJ

Reply to this topic