PHP- Mysql problem

PHP- Mysql problem

am 18.06.2009 12:03:55 von NADARAJAH SIVASUTHAN NADARAJAH

--_6b488344-75f6-472f-beff-0721e97079b2_
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable


=20

Dear all=2C

When I try to retrive data from two tables using JOIN OR INNER JOIN=
it display error message

given below=3B

=20

Warning: mysql_query() [function.mysql-query]: Access denied for user 'ODBC=
'@'localhost' (using password: NO) in C:\wamp\www\ap_v5\inc\profile.inc.php=
on line 285

Warning: mysql_query() [function.mysql-query]: A link to the server could n=
ot be established in C:\wamp\www\ap_v5\inc\profile.inc.php on line 285

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result=
resource in C:\wamp\www\ap_v5\inc\profile.inc.php on line 288

=20

=20

what may be the reason?

=20

Normally PHP-mysql works fine.

Can you figure it out and give me the possible solution?

=20

Thank you.

suthan

=20

____________________________________________________________ _____
Windows Live=99: Keep your life in sync. Check it out!
http://windowslive.com/explore?ocid=3DTXT_TAGLM_WL_t1_allup_ explore_012009=

--_6b488344-75f6-472f-beff-0721e97079b2_--

Re: PHP- Mysql problem

am 18.06.2009 15:31:14 von Phpster

On Thu, Jun 18, 2009 at 6:03 AM, NADARAJAH SIVASUTHAN
NADARAJAH wrote:
>
>
>
> Dear all,
>
> =A0 =A0 =A0 =A0When I try to retrive data from two tables using JOIN OR I=
NNER JOIN it display error message
>
> given below;
>
>
>
> Warning: mysql_query() [function.mysql-query]: Access denied for user 'OD=
BC'@'localhost' (using password: NO) in C:\wamp\www\ap_v5\inc\profile.inc.p=
hp on line 285
>
> Warning: mysql_query() [function.mysql-query]: A link to the server could=
not be established in C:\wamp\www\ap_v5\inc\profile.inc.php on line 285
>
> Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL resu=
lt resource in C:\wamp\www\ap_v5\inc\profile.inc.php on line 288
>
>
>
>
>
> what may be the reason?
>
>
>
> Normally PHP-mysql works fine.
>
> Can you figure it out and give me the possible solution?
>
>
>
> Thank you.
>
> suthan
>
>
>
> ____________________________________________________________ _____
> Windows Live=99: Keep your life in sync. Check it out!
> http://windowslive.com/explore?ocid=3DTXT_TAGLM_WL_t1_allup_ explore_01200=
9

The db user account that you are attempting the connection with does
not have access to the db. Check the account details

--=20

Bastien

Cat, the other other white meat

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: PHP- Mysql problem

am 18.06.2009 15:36:21 von Daniel Brown

On Thu, Jun 18, 2009 at 06:03, NADARAJAH SIVASUTHAN
NADARAJAH wrote:
>
> Warning: mysql_query() [function.mysql-query]: Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\wamp\www\ap_v5\inc\profile.inc.php on line 285

http://google.com/search?q=Access%20denied%20for%20user%20'O DBC'@'localhost'%20(using%20password:%20NO)

http://fart.ly/dm6m7

--

daniel.brown@parasane.net || danbrown@php.net
http://www.parasane.net/ || http://www.pilotpig.net/
50% Off All Shared Hosting Plans at PilotPig: Use Coupon DOW10000

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: PHP- Mysql problem

am 28.06.2009 15:01:46 von gary

Daniel,

Now that is just funny stuff...

Have you tried

http://lmgtfy.com/?q=access+denied+for+user+odbc+localhost

or the newer

http://www.lmbify.com/search.php?s=access+denied+for+user+od bc+localhost




"Daniel Brown" wrote in message
news:ab5568160906180636r239f214eh7e4871da7139cd1d@mail.gmail .com...
> On Thu, Jun 18, 2009 at 06:03, NADARAJAH SIVASUTHAN
> NADARAJAH wrote:
>>
>> Warning: mysql_query() [function.mysql-query]: Access denied for user
>> 'ODBC'@'localhost' (using password: NO) in
>> C:\wamp\www\ap_v5\inc\profile.inc.php on line 285
>
> http://google.com/search?q=Access%20denied%20for%20user%20'O DBC'@'localhost'%20(using%20password:%20NO)
>
> http://fart.ly/dm6m7
>
> --
>
> daniel.brown@parasane.net || danbrown@php.net
> http://www.parasane.net/ || http://www.pilotpig.net/
> 50% Off All Shared Hosting Plans at PilotPig: Use Coupon DOW10000



--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: PHP- Mysql problem

am 01.09.2009 13:06:13 von Ahmet Caner

Mysql Username or password error.please testing connect setting
----------
"NADARAJAH SIVASUTHAN NADARAJAH" , haber iletisinde
sunlari yazdi:COL106-W49CF8A0029C9582F1C0161D53D0@phx.gbl...



Dear all,

When I try to retrive data from two tables using JOIN OR INNER JOIN
it display error message

given below;



Warning: mysql_query() [function.mysql-query]: Access denied for user
'ODBC'@'localhost' (using password: NO) in
C:\wamp\www\ap_v5\inc\profile.inc.php on line 285

Warning: mysql_query() [function.mysql-query]: A link to the server could
not be established in C:\wamp\www\ap_v5\inc\profile.inc.php on line 285

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result
resource in C:\wamp\www\ap_v5\inc\profile.inc.php on line 288





what may be the reason?



Normally PHP-mysql works fine.

Can you figure it out and give me the possible solution?



Thank you.

suthan



____________________________________________________________ _____
Windows LiveĀ™: Keep your life in sync. Check it out!
http://windowslive.com/explore?ocid=TXT_TAGLM_WL_t1_allup_ex plore_012009



--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php