Solved

Installing MySQL 4.00.18

Posted on 2004-04-23
1
409 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

When it comes to security, there are always trade-offs between security and convenience/ease of administration. This article examines some of the main pros and cons of using key authentication vs password authentication for hosting an SFTP server.
This article is a collection of issues that people face from time to time and possible solutions to those issues. I hope you enjoy reading it.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

738 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