--- timmy <[EMAIL PROTECTED]> wrote:

> What happnes if you try and install it again?

I post questions here coz I could not operate MySQL
well after I installed on RH9.0. Somehow, I found that
I may not follow the MySql reference manual and some
other books today.

I could not use the this commands:
/etc/init.d/mysqld start|stop|restart
There is no 'mysqld' within /etc/init.d at all. I
could not start mysql server within terminal. 
Later, I found that there is 'mysql' within
/etc/init.d, and I tried command 'mysql start' within
/etc/init.d
output:
[EMAIL PROTECTED] init.d]# mysql start
ERROR 2002: Can't connect to local MySQL server
through socket '/var/lib/mysql/mysql.sock' (2)
I though I might need to re-install MySQL server at
that moment.
Solution I tried:
[EMAIL PROTECTED] init.d]# /etc/init.d/mysql start
It's ok now. I can turn MySql server on with this
command only under ROOT mode. 
Questions1:
Is there anyone know why I must put /etc/init.d/
before 'mysql start' even though I was within that
directory already???  
Answer:I just figured it out after read the manual
again. The mysql is the script file, changed name from
 mysql.server script file. that's why I must add
directory name before it, or just simply do as
./mysql, it works within the /etc/init.d directory. 

Thanks, guys, it seems that mySQL server is still
good, no need to re-install so far, I can turn it on
or off as I like with './mysql start|stop' within
/etc/init.d

Questions2:
I can turn on mysql under ROOT with that command
./mysql start within /etc/init.d. Somehow, there is no
error message output when I execute the same command
under user mode, but could not turn on the mysql
server. Why? I can not figure it out.
 






        
                
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail 

_______________________________________________
clug-talk mailing list
[EMAIL PROTECTED]
http://clug.ca/mailman/listinfo/clug-talk_clug.ca

Reply via email to