RE: mysql_connect problem

2006-06-28 Thread Ing. Edwin Cruz
http://dev.mysql.com/doc/refman/5.0/en/old-client.html Regards! Edwin. -Mensaje original- De: WSteffen [mailto:[EMAIL PROTECTED] Enviado el: Miércoles, 28 de Junio de 2006 10:29 a.m. Para: mysql@lists.mysql.com Asunto: mysql_connect problem I am using the following in a PHP script

Re: mysql_connect problem

2006-06-28 Thread Jo�o C�ndido de Souza Neto
Which version is your php and your mysql? "WSteffen" <[EMAIL PROTECTED]> escreveu na mensagem news:[EMAIL PROTECTED] >I am using the following in a PHP script: > bash-3.00$ cat mail > $connect = mysql_connect("localhost", "bp5am", "bp5ampass") or > > ?> > > Which gives the following MySQl error:

mysql_connect problem

2006-06-28 Thread WSteffen
I am using the following in a PHP script: bash-3.00$ cat mail Which gives the following MySQl error: Warning: mysql_connect() [function.mysql-connect]: Client does not support authentication protocol requested by server; consider upgrading MySQL client in /var/apache2/htdocs/php_sql/createmov

mysql_connect() problem

2003-12-17 Thread ads mysql
Hi, I am trying to setup network having 1) Linux main server running IPTABLES firewall, squid, dns server. 2) LAN connected to main server. 2) DMZ having apache, mysql and php, mail server connected to main server. User will use php script from remote host to connect to mysql as follows: MYSQL_

mysql_connect() problem

2003-12-17 Thread ads mysql
Hi, I am trying to setup network having 1) Linux main server running IPTABLES firewall, squid, dns server. 2) LAN connected to main server. 2) DMZ having apache, mysql and php, mail server connected to main server. User will use php script from remote host to connect to mysql as follows: MYSQL_CON

Mysql_connect problem

2002-07-06 Thread Christopher Moreno
I'm having a problem with mysql_connect(). Here is the code I am using: function db_connect() { global $dbhost, $dbusername, $dbuserpassword, $default_dbname; global $MYSQL_ERRNO, $MYSQL_ERROR; $link_id = mysql_connect($dbhost, $dbusername, $dbuserpassword); if(!$link_id) { $MY