LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-01-2005, 08:14 AM   #1
uv2005
LQ Newbie
 
Registered: Dec 2005
Posts: 8

Rep: Reputation: 0
MySql problem


Hello. I am very new to Linux and unix, conerting from XP. I've installed Suse 9.2 with KDE desktop. I am trying to install MySQL, and downloaded version 5.0. I have extracted the files, and tried to follow the installation text file instruction, but I can't even perform the first two commands:
shell> groupadd mysql
shell> useradd -g mysql mysql
(For both I get "command not found").

Any clue what I should do, or a good reference to easily do it? Sorry if I sound very amateur.
Many thanks.
 
Old 12-01-2005, 08:24 AM   #2
fatrandy13
Member
 
Registered: Jun 2004
Location: new jersey
Distribution: anything debian based, long live apt-get
Posts: 230

Rep: Reputation: 30
hmm, i know for a fact that those commands should exist... there has to be a larger problem at hand if you say the command 'useradd' does not exist... however those commands do need to be ran as root, so type 'su' (no quotes) at a prompt to temporarily log in as root, then 'exit' to get back.
 
Old 12-01-2005, 08:27 AM   #3
js_valencia
LQ Newbie
 
Registered: Nov 2005
Posts: 19

Rep: Reputation: Disabled
what you could do, is look if a RPM package exists for mysql on suse 9.x and run that one from yast

but then again, I'm not so in to linux myself yet. lol
So don't pin me down on this

GreetZzZz
 
Old 12-01-2005, 05:32 PM   #4
alperthereal
LQ Newbie
 
Registered: Oct 2005
Location: Ankara, Turkey
Distribution: Ubuntu 5.10 & Mandrake 10.1
Posts: 6

Rep: Reputation: 0
agree with fatrandy13, try executing those commands as root -- meaning after you have run mysql as root.

Code:
su
enter your password when prompted, then try running mysql,

good luck!
 
Old 12-01-2005, 05:55 PM   #5
Kristijan
Member
 
Registered: Sep 2003
Location: Melbourne, Australia
Distribution: NetBSD 3.0.1, Slackware 10.1
Posts: 394

Rep: Reputation: 30
uv2005,

If the above fails, try to log in as root using;

Code:
su -
The (-) will ensure you inherit root's path.

Regards,
Kristijan
 
  


Reply



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
Bugzilla - MySQL - perl - DBD::mysql install problem Runningonair Linux - Software 8 10-12-2007 12:42 AM
mysql error Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. Dannux Linux - Software 3 03-24-2006 08:44 AM
mysql 4.0.24 to mysql 4.1.12 upgrade problem tuxrules Slackware 7 08-13-2005 06:43 PM
MySQL server problem after linking (mysql.sock) ewijaya Linux - General 4 01-19-2004 09:46 AM
MySQL mysql-3.23.56-1.9, rpm install problem jacsmith510 Linux - Newbie 3 09-19-2003 02:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:00 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