PHP- Mysql problem

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




Dear all=2C

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

given below=3B



Warning: mysql_query() [function.mysql-query]: Access denied for user 'ODBC=
' [at] '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





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_012009=

--_6b488344-75f6-472f-beff-0721e97079b2_--
NADARAJAH SIVASUTHAN [ Do, 18 Juni 2009 12:03 ] [ ID #2005692 ]

Re: PHP- Mysql problem

On Thu, Jun 18, 2009 at 6:03 AM, NADARAJAH SIVASUTHAN
NADARAJAH<nsivasuthan [at] live.com> 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' [at] '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

--

Bastien

Cat, the other other white meat

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Phpster [ Do, 18 Juni 2009 15:31 ] [ ID #2005694 ]

Re: PHP- Mysql problem

On Thu, Jun 18, 2009 at 06:03, NADARAJAH SIVASUTHAN
NADARAJAH<nsivasuthan [at] live.com> wrote:
>
> Warning: mysql_query() [function.mysql-query]: Access denied for user 'ODBC' [at] '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' [at] 'localhost'%20(using%20password:%20NO)

http://fart.ly/dm6m7

--
</Daniel P. Brown>
daniel.brown [at] parasane.net || danbrown [at] 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
Daniel Brown [ Do, 18 Juni 2009 15:36 ] [ ID #2005695 ]

Re: PHP- Mysql problem

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" <danbrown [at] php.net> wrote in message
news:ab5568160906180636r239f214eh7e4871da7139cd1d [at] mail.gmail .com...
> On Thu, Jun 18, 2009 at 06:03, NADARAJAH SIVASUTHAN
> NADARAJAH<nsivasuthan [at] live.com> wrote:
>>
>> Warning: mysql_query() [function.mysql-query]: Access denied for user
>> 'ODBC' [at] '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' [at] 'localhost'%20(using%20password:%20NO)
>
> http://fart.ly/dm6m7
>
> --
> </Daniel P. Brown>
> daniel.brown [at] parasane.net || danbrown [at] 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
gary [ So, 28 Juni 2009 15:01 ] [ ID #2006735 ]

Re: PHP- Mysql problem

Mysql Username or password error.please testing connect setting
----------
"NADARAJAH SIVASUTHAN NADARAJAH" <nsivasuthan [at] live.com>, haber iletisinde
sunlari yazdi:COL106-W49CF8A0029C9582F1C0161D53D0 [at] 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' [at] '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
Ahmet Caner [ Di, 01 September 2009 13:06 ] [ ID #2014279 ]
PHP » gmane.comp.php.database » PHP- Mysql problem

Vorheriges Thema: Need Help in the below script
Nächstes Thema: Invalid library (maybe not a PHP library) : Error while loading