[Wolves] Accessing mysql through php from jailshell
DragonMaster
LUG at clews.homelinux.net
Thu Jun 18 10:34:59 UTC 2009
David Goodwin wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> DragonMaster wrote:
>
>> Hi all, I have set up a jailshell account on my server, and I can no
>> longer access mysql from within my php scripts - I get an "access denied
>> for user '<user>'@localhost" message. however, I know I have enabled
>> localhost access for the user as it works when I try accessing from
>> mysql cli from a non-jailed user.
>>
>> Does anyone have any ideas?
>>
>
>
> How are you trying to access mysql? via a socket file? or over the
> network (localhost...)
>
>
I am using mysql_connect("localhost", "name", "passwd");
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.lug.org.uk/pipermail/wolves/attachments/20090618/206a70da/attachment-0001.htm
More information about the Wolves
mailing list