note 27423 added to function.mysql-connect
| From: | rezzix at hotmail dot com | Date: | Thu, 05 Dec 2002 12:04:28 +0000 |
| Subject: | note 27423 added to function.mysql-connect | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-40375@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 "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
http://master.php.net/manage/user-notes.php?action=edit+27423
http://master.php.net/manage/user-notes.php?action=delete+27423
http://master.php.net/manage/user-notes.php?action=reject+27423