Re: PHP- Mysql problem
| From: | Bastien Koert | Date: | Thu, 18 Jun 2009 13:31:14 +0000 |
| Subject: | Re: PHP- Mysql problem | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-46246@lists.php.net to get a copy of this message | ||
On Thu, Jun 18, 2009 at 6:03 AM, NADARAJAH SIVASUTHAN
NADARAJAH<nsivasuthan@live.com> wrote:
>
>
>
> 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_explore_012009
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