[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.php] Re: problems under Gentoo: Client does not support authentication protocol requested by server

It's not phpide problem
http://dev.mysql.com/doc/refman/5.0/en/old-client.html

Lorenzo Bettini wrote:
Hi

I've just started using phpide under gentoo.

I'm trying to run a php script from eclipse and I'm getting this error

Warning: mysql_connect() [function.mysql-connect]: Client does not support authentication protocol requested by server; consider upgrading MySQL client in db.php on line 23
could not connect to database


(notice that I have already put a link to

ln -s /var/run/mysqld/mysqld.sock /tmp/mysql.sock

as described here http://tronprog.blogspot.com/2006/09/eclipse-php-php-ide.html
otherwise I'm getting a different error; and this solution works under Debian).


The function I'm using is mysql_connect($server,$user,$password)

Notice that I'm not having problems when seeing php pages from the browser, so the problem seems to be only when using phpide (using both the built in php4 and php5).

Anyone experiencing the same problem?

Thanks in advance
    Lorenzo