Hello Guys (gals?) and the list,

Thank you very much for the tips. Your help put me on the correct path, and I was able to install the products you suggested, and it seems that my "dummy" database demo is now working. Thank you for the help. I am a "smarter" newbie now!

eric

[EMAIL PROTECTED] wrote:

You need to install the client side of mysql on the linux box (libmysql.*)

then compile php with the mysql modules (I think they exist in RPMs)

P
-----"Eric W. Holzapfel" <[EMAIL PROTECTED]> wrote: -----

To: [EMAIL PROTECTED]
From: "Eric W. Holzapfel" <[EMAIL PROTECTED]>
Date: 02/10/2004 02:55PM
Subject: MySQL and PHP

Hello Mysql listers,

I have a mysql db running on a Slackware Linux box. I have an Apache
webserver running on a Red Hat Enterprise box. (Mysql 4.0.15a, apached
2.0, php 4.3.2). I think (!!?) I have php on the Red hat box, version
4.3.2.

I have been trying without success to use php on apache to connect to
the db on slackware box. I do not have MySQL installed on the Redhat
box (but do have the mysql client installed). Do I need to install
MySQL on the red hat machine to get commands like: mysql_connect,
mysql_pconnect to work??? My php does not recognize these commands.
Also my php will not connect to the database using a php script like:
"mysql://user:[EMAIL PROTECTED] phpdemo" where user is the username,
passwrd is the password, etc. I can log on locally to the Slackware
box, and connect to the db using the user and password, etc. And I can
also use ODBC from a windows box to connect.

any ideas on how to set this beginner (me) straight????

Thanks,

eric


-- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]






--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]



Reply via email to