note 27423 modified in function.mysql-connect by tix
| From: | tix@php.net | Date: | Thu, 05 Dec 2002 12:18:08 +0000 |
| Subject: | note 27423 modified in function.mysql-connect by tix | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-40376@lists.php.net to get a copy of this message | ||
mysql_connect() and other mysql functions not working on linux ...
on a linux default installation you may have php installed but not mysql, then you may need to
install mysql to run your scripts (it was my case with redhat 8.0).
scripts will most probably fail then make sure that :
1 your mysql daemon is started (from the initd or mannually)
2 mysql is supported from php (a typical error would be "undefined mysql_connect() function),
if not reconfigure php to support mysql with ./configure --with-mysql of install the php_mysql
package that you should find in your install CDs
--was--
mysql_connect() and other mysql functions not working on linux ...
on a linux default installation you may have php installed but not mysql, then you may need to
install mysql to run your scripts (it was my case with redhat 8.0).
scripts will most probably fail then make sure that :
1 your mysql daemon is started (from the initd or mannually)
2 mysql is supported from php (a typical error would be "indefined mysql_connect() function),
if not reconfigure php to support mysql with ./configure --with-mysql of install the php_mysql
package that you should find in your install CDs
http://www.php.net/manual/en/function.mysql-connect.php