On Mon, 30 Jul 2001, Gavin Philips-Page wrote:

> Please help:
> 
> 1. We have installed MySQL source version 3.23.40.tar.gz. Everything
> installed OK. We ran the command ./bin/mysql_install_db. This worked fine.
> We then ran /etc/rc.d/init.d/mysql start. The result "no such file or
> directory". We checked the directory and discovered there is no MySQL in
> there. What has gone wrong?

In the support-files directory there is a file called
mysql.server.sh.  You need to copy this file to /etc/rc.d/init.d.  Then
execute chkconfig:

cp support-files/mysql.server.sh /etc/rc.d/init.d/mysqld
chkconfig --add mysqld

Now you can use ntsysv to enable starting of mysqld at bootup. (This is
based on mysql 3.23.33 which is the last time I compiled off source)

> 2. In a previous installation we have installed MySQL using the RPMS. This
> worked fine and the program ran. The problem we experienced occurred when we
> were configuring PHP. We installed PHP succesfully. We wanted to create the
> DSO version of PHP with MySQL support using the command ./configure
> ‹with-mysql=/[path to mysql] --with-apxs=/[path to apxs]. When executing the
> command we received an error message ³MySQl header files not found² We
> entered the above command without MySQl support and it worked fine. Where do
> we find the MySQL header files. According to the MySQl installation layouts
> manual. The header files should be in the include directory. We added the
> include directory to the path and it still did not find the MySQl header
> files. Where are they?

You need to install the mysql development rpm.  I haven't used redhat in a
while, but it will probably be something like
mysql-devel-xx.yy-z.i386.rpm.  Install this rpm.  Then list the files in
this package:

rpm -ql mysql-devel

That should give you a good idea of where the header files are.

regards,
Izak
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Izak Burger ([EMAIL PROTECTED])
http://www.cs.sun.ac.za/
Tel. +27 21 808 4863
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
A big enough hammer can usually fix anything.


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to