Solved

Installing MySQL 4.00.18

Posted on 2004-04-23
1
401 Views
Last Modified: 2013-12-24
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/.
0
Comment
Question by:firstcls
1 Comment
 
LVL 1

Accepted Solution

by:
davidtrina earned 500 total points
ID: 10997937
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

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is an article about my experiences with remote access to my clients (so that I may serve them) and eventually to my home office system via Radmin Remote Control. I have been using remote access for over 10 years and have been improving my metho…
Don’t let your business fall victim to the coming apocalypse – use our Survival Guide for the Fax Apocalypse to identify the risks and signs of zombie fax activities at your business.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now