The Problem is not with php, we you need is a permition on the DB for
a user to access it from your host
http://dev.mysql.com/doc/refman/5.0/en/grant.html
On Jan 24, 2008 7:32 PM, Saeed Al Mullah <[EMAIL PROTECTED]> wrote:
>
> Hi all , sorry for bothering you all ..
> i wrote php-cli script and i want to access to mysql database in
> another pc in the same network .
> the is the IP of mysql machine is : 192.168.1.20
> and my pc is : 192.168.1.21
> when i run the script i have this massege :
> mysql_connect() : HOST 'saeed-980XXXX ' is not allowe to connect to
> this MySQL server .
>
> in the host i put : 192.168.1.20
> can anybody tell me what is the problem ?
>
> --
> Saeed Mullah uthman
> PHP developer
> President of P.A club :-) ask me about it
> Mob: +966 56 7849842
>
> >
>
--
Ala'a A. Ibrahim
http://guru.alaa-ibrahim.com/
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Jordan PHP Users Group" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/JoPHP
http://Jolug.org/
-~----------~----~----~----~------~----~------~--~---