Installing MySQL 4.00.18

Every time i try to install MySQL 4, it gives me this error after typing "make install":
[raccoonfox@www mysql-4.0.18]$ make install
Making install in .
make[1]: Entering directory `/home/sites/site12/web/mysql-4.0.18'
make[2]: Entering directory `/home/sites/site12/web/mysql-4.0.18'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/sites/site12/web/mysql-4.0.18'
make[1]: Leaving directory `/home/sites/site12/web/mysql-4.0.18'
Making install in include
make[1]: Entering directory `/home/sites/site12/web/mysql-4.0.18/include'
make  install-am
make[2]: Entering directory `/home/sites/site12/web/mysql-4.0.18/include'
make[3]: Entering directory `/home/sites/site12/web/mysql-4.0.18/include'
make[3]: Nothing to be done for `install-exec-am'.
/bin/sh ../mkinstalldirs /usr/local/mysql/include/mysql
mkdir /usr/local/mysql
mkdir: cannot create directory `/usr/local/mysql': Permission denied
mkdir /usr/local/mysql/include
mkdir: cannot create directory `/usr/local/mysql/include': No such file or dir
tory
mkdir /usr/local/mysql/include/mysql
mkdir: cannot create directory `/usr/local/mysql/include/mysql': No such file
 directory
make[3]: *** [install-pkgincludeHEADERS] Error 1
make[3]: Leaving directory `/home/sites/site12/web/mysql-4.0.18/include'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/home/sites/site12/web/mysql-4.0.18/include'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/home/sites/site12/web/mysql-4.0.18/include'
make: *** [install-recursive] Error 1
[raccoonfox@www mysql-4.0.18]$ mysql.server start
bash: mysql.server: command not found
[raccoonfox@www mysql-4.0.18]$ cd /usr/local/mysql
bash: /usr/local/mysql: No such file or directory
[raccoonfox@www mysql-4.0.18]$ cd /usr/local
[raccoonfox@www local]$ dir
bin  etc        games    info  majordomo  sbin   src
doc  frontpage  include  lib   man        share
[raccoonfox@www local]$ mkdir mysql
mkdir: cannot create directory `mysql': Permission denied
[raccoonfox@www local]$


What could cause such an error? (i'm just a shell user). from what i know, i think i might need to create the folder /usr/local/mysql/ but i could be wrong. do i need root access to create that folder? i get "Permission denied" whenever i try to create that folder in /usr/local/.
firstclsAsked:
Who is Participating?
 
davidtrinaCommented:
it would appear that you do not have the proper permission to create directories under /usr/local/, if this is not your personal system then you may need to contact the administrator of that machine to install it.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.