[php-maint] Bug#500733: Bug#500733: php5-mysql incompatible to mysql 5.1
msippel at dragon-edv.de
Wed Oct 1 10:57:56 UTC 2008
Ondřej Surý schrieb:
> 2008/10/1 Mirco Sippel <msippel at dragon-edv.de>:
>> Ondřej Surý schrieb:
>>> Can you please elaborate what do you mean by that? And what you
>>> are trying to achieve? (ie. what's broken or what can be improved?)
>> I have installed the mysql 5.1 packages from experimental:
>> ii libmysqlclient15off 5.0.51a-15
>> ii libmysqlclient16 5.1.26rc-1
>> ii mysql-client 5.1.26rc-1
>> ii mysql-client-5.1 5.1.26rc-1
>> ii mysql-common 5.1.26rc-1
>> ii mysql-server 5.1.26rc-1
>> ii mysql-server-5.1 5.1.26rc-1
>> PHP uses Client API version 5.0.51a from libmysqlclient15off. When I add an
>> user with an php-script for instance phpmyadmin, I can not connect to the
>> database by this user, because I get an error: #1045 - Access denied for
>> user 'xyz'@'localhost' (using password: YES)
> Allright, and why do you think it's a problem with an libmysqlclient API?
> I think your problem is not within possible incompatible API, but because
> you messed up permissions on that user. I suggest you go to read MySQL
> manual section which deals with database permissions.
OK it indeed is no Problem with php5-mysql. I rebuilt the same
configuration on another machine and it works. So it should be a problem
on my local machine.
Sorry for having wasted your time.
More information about the pkg-php-maint