Hi Andy,

Try to kill the process first, then restart mysql server.  Hope that helps.

Thanks,

Xi Jiang
------------------------------------------------
ITSportsNet Technical Support
----- Original Message -----
From: "Andy De Paoli" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 12, 2001 1:34 PM
Subject: problems startting MySQL under R.H. 7.1


> Help, I have a very urgent problem, I installed RedHat 7.1 for a company
> that wanted to migrate to it with their MySQL database.
> Unfortunately I encountered problems with MySQL
>
> 1.  I ran mysql_install_db and got the messages about running mysqladmin
> to create a root password, OK so far
>
> 2. ran mysqladmin -u root password <pswd> and got an error: "Can't
> connect to local MySQL server through socket
> '/var/lib/mysql/mysql.sock'"
>
> 3. checked and the sock exists, so I figured that mysqld wasn't
> runnning.
>
> 4. tried /usr/bin/safe_mysqld & but mysqld ended immediately after it
> started
>
> 5. tail /var/log/mysqld.log contains the message that
> /usr/libexec/mysqld can't find the file './mysql/host.frm'
>
> 6. when I try running /usr/libexec/mysqld as root I get the message
> regarding Security. Running it as a normal user I get the message: can't
> start server: Bind on Unix Socket : address already in use.
>
> 7. if I run /user/libexec/mysqld  -h
> I get the list of variables, among which
>   basedir:    /usr/
>   datadir:   /var/lib/mysql
>   tmpdir:   /tmp/
> ...
>   Unix socket:   /var/lib/mysql/mysql.sock
>
> I have tried modifying /etc/my.cnf, /usr/share/mysql/mysql.server ...
> nothing.
>
> When I do a "telnet 127.0.0.1 3306" I get unable to connect, connection
> refused so I assume that mysqld never started.
>
> I had previously installed MySQL with earlier verdsions of Red Hat (6.2,
> 7.0) and even compiled versions but I have never encountered such
> frustrating problems. Can someone point me in the right direction? (Yes,
> I have read the manual, the O'Reilly book and online FAQ.)
>
> I wold appreciate any pointers or even nidication of whom I could
> contact for help  (and eventual costs), thanks.
> --
> Andy De Paoli
> emails:   [EMAIL PROTECTED]
>           [EMAIL PROTECTED]
>           [EMAIL PROTECTED]
> (these are the ones I remember :-)
>
>
>
> ---------------------------------------------------------------------
> Before posting, please check:
>    http://www.mysql.com/manual.php   (the manual)
>    http://lists.mysql.com/           (the list archive)
>
> To request this thread, e-mail <[EMAIL PROTECTED]>
> To unsubscribe, e-mail
<[EMAIL PROTECTED]>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
>
>


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to