Solved

Installing MySQL 4.00.18

Posted on 2004-04-23
1
407 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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

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 will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
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…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

820 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