|
Posted by drblitzkrieg on 04/05/07 01:02
Yes, that helped. Though the socket perms were fine, the directory
was:
drwx------ 5 mysql root 1024 Apr 5 09:47 /var/lib/mysql/
I changed it to:
drwxr-xr-x 5 mysql mysql 1024 Apr 5 09:47 /var/lib/mysql/
For the record, after that it complained about "Client does not
support authentication protocol", but that was solved by resetting its
account's password with OLD_PASSWORD('pass'). Apparently php's mysql
client doesn't know about mysql's new password hashing even as late as
php 4.4.6!
Anyway, works now.
Thanks!
> Check the permissions of "/var/lib/mysql". In my system they look like
> this:
>
> drwxr-xr-x 44 mysql mysql 4096 abr 4 10:18 /var/lib/mysql/
>
> Specifically, users not in mysql group should have "access" permission:
>
> chmod o+x /var/lib/mysql/
>
> I hope this helps.
Navigation:
[Reply to this message]
|