Reply to Re: new php and mysql stop playing together

Your name:

Reply:


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.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация