Re: php and mysql on RH8.0
| From: | Doug Thompson | Date: | Sun, 29 Dec 2002 18:27:49 +0000 |
| Subject: | Re: php and mysql on RH8.0 | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-24453@lists.php.net to get a copy of this message | ||
1. Is mysqld running? I don't remember if the default configuration
for RH8.0 sets it to start on system boot.
The easy way to check is:
ps aux | grep mysql
or
mysqladmin -u root ping
will return "MySQL is alive" if the server is running.
2. See chapter 2.4 of the MySQL Manual for Post-installation Setup and
Testing
http://www.mysql.com/doc/en/Post-installation.html
hth,
Doug
On Sun, 29 Dec 2002 16:46:38 +0100 (CET), franco stridella wrote:
>
>Hi,
>
>i apologize in advance for my stupid question. I installed RedHat8.0 with built in apache 2 and
>php 4.2.2
>
>By looking at phpinfo() i see that php has been compiled with --with-mysql,shared and php works
>but it seems that mysql is not enabled. Why? how can i use mysql with php? what have i to enable to
>make it run?
>
>bye