LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 11-19-2004, 06:18 AM   #1
lothario
Member
 
Registered: Apr 2004
Posts: 340

Rep: Reputation: 30
Mandrakelinux 10.1 did not install MySQL during hard disk install


Just finished installing Mandrakelinux 10.1 from the ISO on the hard disk.
I thought it would install MySQL
It did not.

How can I install MySQL now that the Mandrakelinux installation is finished?
 
Old 11-19-2004, 08:58 AM   #2
Xolo
Member
 
Registered: Jul 2004
Location: The Netherlands
Distribution: Mandrake, Knoppix, Coyote Linux, RedHat
Posts: 354
Blog Entries: 3

Rep: Reputation: 31
Off the top of my head (If it's still correct, i'm on a different version of Mandrake at the moment) Go to the configuration in the program menu, and find the package installer/manager (you need root permission to run it) Locate MySQL in the list and check it, hit Install and insert disk as prompted.
 
Old 11-19-2004, 09:00 AM   #3
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
Eh, open a console and as root...

urpmi mysql

and follow the prompts to insert any required disks.

Go to http://www.zebulon.org.uk/urpmi_en.html and set up your sources while you are at it...
 
Old 11-19-2004, 03:19 PM   #4
Captainhero
LQ Newbie
 
Registered: Nov 2004
Location: UK
Distribution: Mandrake 10.0
Posts: 26

Rep: Reputation: 15
I have the same issue. The mandrake website raves on about how it has Apache, MySQL, PHP, etc on the installation, but there is nothing.

I've tried going into both the GUI software installer and also the console to use urpmi and there just aren't any MySQL packages to install. It's frustrating.

I downloaded the files direct from the MySQL site in the end, but I can't get them to install properly and the message that comes up is sufficiently vague that I cannot work out what the problem is (being a complete Linux newbie doesn't help either).
 
Old 11-19-2004, 11:02 PM   #5
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
I don't know what you are talking about.

ALL of these packages are indeed "there" and available, at worst via the URPMI mechanism I posted above.

Installing MySql the way you have done will almost guarantee problems as this will break things as far as the Mandrake install.

The best thing would be to re-install to fix anything already broken by the manual install.

Afterwards set up the sources and make sure that you use urpmi (or the gui) to set up the wizards, MySql, Webmin and all the required apache modules for Sql.

Finally use Webmin to configure everything.

This way it's a SNAP to set up and Webmin will notify you if anything is missing or not properly configured.
 
Old 11-20-2004, 12:48 PM   #6
Captainhero
LQ Newbie
 
Registered: Nov 2004
Location: UK
Distribution: Mandrake 10.0
Posts: 26

Rep: Reputation: 15
Thanks for the reply.

Being new to Linux, I don't understand. I naively assumed that the files would be 'there', but when I search under the GUI software installation interface, there is nothing. Simillarly, if I type urpmi mysql in the console, it tells me there is no such package.

Is it something to do with setting up these 'sources'?
 
Old 11-20-2004, 07:18 PM   #7
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
Yes this has everything to do with setting up the sources.

Before you do anything else, do what is indicated in the above link, then try again.
 
Old 11-21-2004, 05:01 AM   #8
Captainhero
LQ Newbie
 
Registered: Nov 2004
Location: UK
Distribution: Mandrake 10.0
Posts: 26

Rep: Reputation: 15
Thanks, reading that link i can see why it is important to set up the sources. However, I fail at the first hurdle: when I go to the first link indicated http://plf.zarb.org/~Enanardon it comes up with a message 'The document contains no data'

Is there some other way to set up the sources - I'll presumably have to look for the various mirrors manually or something and then set up the urpmi.addmedia commands?
 
Old 11-21-2004, 05:44 AM   #9
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
For some reason that site seems to be down today.

(I guess I've been sending too many people there, or Mandrakesoft has jumped on this guy...)

I previously saved my sources though...

So cut and paste... though note that

1) This site causes things to wrap around where they shouldn't.

2) Each urpmi.addmedia entry goes on ONE line.

3) The URL's are compressed, so if you merely cut and paste it will not work.

However if you hover over the link you'll see the correct text...

Here goes...

----

urpmi.addmedia plf ftp://ftp.easynet.fr/plf/mandrake/10.1 with hdlist.cz

urpmi.addmedia --update updates ftp://mirrors.secsup.org/pub/linux/m...1/main_updates with media_info/hdlist.cz

urpmi.addmedia main ftp://ftp.rutgers.edu/pub/Mandrakeli...586/media/main with media_info/hdlist.cz

urpmi.addmedia contrib ftp://ftp.rutgers.edu/pub/Mandrakeli.../media/contrib with media_info/hdlist.cz

urpmi.addmedia jpackage ftp://mirror.cs.wisc.edu/pub/mirrors...media/jpackage with media_info/hdlist.cz
 
Old 11-21-2004, 06:02 AM   #10
Captainhero
LQ Newbie
 
Registered: Nov 2004
Location: UK
Distribution: Mandrake 10.0
Posts: 26

Rep: Reputation: 15
I'll give those a try.

Does it matter that I am using 10.0?

Last edited by Captainhero; 11-21-2004 at 06:07 AM.
 
Old 11-21-2004, 06:49 AM   #11
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
Yes it matters!

You can change to the 10.0 directories on the same repositories, but since narndon is down, you'll have to manually change things to reflect the differences..

Use an FTP client to see where the 10.0 files actually are...
 
Old 11-21-2004, 07:38 AM   #12
Captainhero
LQ Newbie
 
Registered: Nov 2004
Location: UK
Distribution: Mandrake 10.0
Posts: 26

Rep: Reputation: 15
OK, i can see the 10.0 files, though not sure which are which. I am just trying to add them now.

Edit: so far so good, they seem to have installed, now to see if i can test them...

Last edited by Captainhero; 11-21-2004 at 10:49 AM.
 
Old 11-21-2004, 05:39 PM   #13
Captainhero
LQ Newbie
 
Registered: Nov 2004
Location: UK
Distribution: Mandrake 10.0
Posts: 26

Rep: Reputation: 15
OK, I've been trying to get them working. As far as i can see, they are installed - apache, mysql, php. When I went to localhost, the default Apache screen comes up and all looks fine.

But if I try and replace the files with other files, to test some webpages, it gives a 403 error and says I do not have permission to view that folder (even as root). The file permissions all look ok, so I'm not sure why it is doing this.
 
Old 11-22-2004, 12:02 AM   #14
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
Did you set up and configure the MySql/Apache permissions via the ACL's on the Webmin administration pages?
 
Old 11-22-2004, 02:55 AM   #15
Captainhero
LQ Newbie
 
Registered: Nov 2004
Location: UK
Distribution: Mandrake 10.0
Posts: 26

Rep: Reputation: 15
The answer to that would be 'no'. It's all geek to me (sorry, terrible pun).

I'll look into it. Thanks once again for your help and patience.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to install suse 9.3 from hard disk dred SUSE / openSUSE 9 08-02-2005 04:58 AM
How to install from hard disk? enemorales Fedora 4 11-20-2004 03:51 AM
Install from hard disk? zostrianos447 Mandriva 3 12-16-2003 02:09 AM
hard disk/install snocked Linux - Newbie 1 02-09-2003 01:07 AM
install 2 linux on the same hard disk? tb-guru Linux - Software 3 04-10-2002 09:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 01:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration