[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.tools.php] problems under Gentoo: Client does not support authentication protocol requested by server
|
- From: Lorenzo Bettini <bettini@xxxxxxxxxxxx>
- Date: Wed, 14 Feb 2007 11:44:12 +0100
- Newsgroups: eclipse.tools.php
- Organization: EclipseCorner
- User-agent: Thunderbird 1.5.0.9 (X11/20061221)
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
--
Lorenzo Bettini, PhD in Computer Science, DSI, Univ. di Firenze
ICQ# lbetto, 16080134 (GNU/Linux User # 158233)
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com
http://www.gnu.org/software/src-highlite
http://www.gnu.org/software/gengetopt
http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net