LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-06-2002, 09:31 AM   #1
Harish_f
LQ Newbie
 
Registered: May 2002
Posts: 15

Rep: Reputation: 0
I am not able to run mysql pls help me.


Dear all,
I installed MySQL-3.23.49a-1.i386.rpm in to my redhat linux 7.0 machine.

now service is running fine(all the service related to mysql)

I am not able to open the database..

I tried following way

#mysql mysql

I got a message like command is not found

I entered like this way also

#mysql

mysql command is not Recognizing at all..

do i need to set the path or classpath?..

please give me suggestion
 
Old 05-06-2002, 10:51 AM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Run
find / -name mysql
it should show you all 'mysql' files. If not, check also with MySQL and similar.
 
Old 05-06-2002, 04:48 PM   #3
j-ray
Senior Member
 
Registered: Jan 2002
Location: germany
Distribution: ubuntu, mint, suse
Posts: 1,591

Rep: Reputation: 145Reputation: 145
try 'safe_mysqld' logged in as root. this should start the daemon. then you can register as root and set up users and so on. hope that helps.
 
Old 05-07-2002, 03:26 AM   #4
kwilding
LQ Newbie
 
Registered: May 2002
Location: Romford
Posts: 2

Rep: Reputation: 0
mysql running

Hi,
You need to know where you have your mysql\bin directory first. I would use locate mysql
cd to mysql/bin

type./mysql -u mysql -p
this will prompt you for a password.

Alternatively type ./mysql -u root
and this will probably let you in as most people forget to set the password for root when installing mysql.

The mysqld_safe command is the initial start of mysql. If this does not work, repost and I will find my instructions that I knocked up about all this.
best,
kev
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Big problem changed root password for mysql can't login pls comment johnnydangerous Linux - Software 5 07-08-2005 01:22 AM
MySQL cant run run-all-tests demmylls Linux - Software 5 02-18-2004 02:08 AM
pls pls pls help me ! i'm tired with httpd config on fedora apache 2.0.48 AngelOfTheDamn Fedora 0 01-24-2004 05:12 PM
cant run startx... pls help... tnx in advance kublador Linux - Newbie 1 08-16-2002 04:13 PM
I wants to run the script(xx) while restart the system. help pls... fmohideen76 Linux - General 2 07-11-2002 01:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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