Using RedHat7, apache_1.3.17, php-4.0.4pl1 and MySQL 3.23.32.
I installed MySQL from an RPM. I installed PHP and apache from source,
statically. I can access MySQL from an linux prompt:
mysqladmin -ulcm lists:
Server version 3.23.32
Protocol version 10
Connection Localhost via UNIX socket
UNIX socket /var/lib/mysql/mysql.sock
Uptime: 4 days 23 hours 46 min 45 sec
Threads: 1 Questions: 69 Slow queries: 0 Opens: 18 Flush tables: 1
Open tables: 12 Queries per second avg: 0.000
However, mysqladmin -h `hostname` gives the -? help.
When I create the following in a php script:
$link = mysql_pconnect ('server.xyz.com', 'root');
The web page puts the following out:
Warning: Unknown MySQL Server Host 'server.xyz.com' (11) in
/usr/local/apache/php/samp_db.inc on line 8
What am I missing here?
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]