LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   I am not able to run mysql pls help me. (https://www.linuxquestions.org/questions/linux-general-1/i-am-not-able-to-run-mysql-pls-help-me-20308/)

Harish_f 05-06-2002 09:31 AM

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

Mara 05-06-2002 10:51 AM

Run
find / -name mysql
it should show you all 'mysql' files. If not, check also with MySQL and similar.

j-ray 05-06-2002 04:48 PM

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.

kwilding 05-07-2002 03:26 AM

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


All times are GMT -5. The time now is 12:26 PM.