Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
04-24-2006, 04:36 AM
|
#1
|
Member
Registered: Apr 2005
Location: Albany, NY
Distribution: Fedora Core 6
Posts: 85
Rep:
|
MySQL installation problems.
I just picked up a handy book about beginning PHP, MySQL, and Apache and I'm having a bit of trouble.
The directions state:
Extract the tarball and change to the directory it creates.
Quote:
tar -xzf mysql-VERSION.tar.gz
cd mysql-version
VERSION is the (sub)version of the mysql source tarball you downloaded '0.15a'
|
I got the following:
Quote:
[mbenoit@cpe-24-195-24-133 ~]$ ls
Desktop gtk-gnutella intro plugin_stack.trace
E-Books Images mysql-5.0.20a.tar.gz Programs
[mbenoit@cpe-24-195-24-133 ~]$ groupadd mysql
bash: groupadd: command not found
[mbenoit@cpe-24-195-24-133 ~]$ su -
Password:
[root@cpe-24-195-24-133 ~]# groupadd mysql
[root@cpe-24-195-24-133 ~]# useradd -g mysql mysql
[root@cpe-24-195-24-133 ~]# tar -xzf mysql-5.0.20a.tar.gz
tar: mysql-5.0.20a.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
|
Any clue? I'm super new to MySQL.
|
|
|
04-24-2006, 04:40 AM
|
#2
|
LQ Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678
Rep:
|
What user are you doing this as?
|
|
|
04-24-2006, 04:46 AM
|
#3
|
Member
Registered: Apr 2005
Location: Albany, NY
Distribution: Fedora Core 6
Posts: 85
Original Poster
Rep:
|
I logged onto my master username and then logged into root.
|
|
|
04-24-2006, 05:59 AM
|
#4
|
Member
Registered: Apr 2004
Location: India
Distribution: Redhat,Fedora
Posts: 430
Rep:
|
When u login as su -
You go to /root dir
So cd to the dir where u hav the tarball available
cd ~mbenoit/
And then go for an untar.
Also try to change the signature of yours if you can.
Cheers
Z
|
|
|
04-24-2006, 03:13 PM
|
#5
|
Member
Registered: Apr 2005
Location: Albany, NY
Distribution: Fedora Core 6
Posts: 85
Original Poster
Rep:
|
Problem solved. I love LQ! And wha tif I just edited a few words around in my siggie? :P Would you like it then?
|
|
|
All times are GMT -5. The time now is 04:53 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|