26 messages in com.mysql.lists.mysqlRe: Error 1044 & Error 2003 on 4.0.13...
FromSent OnAttachments
Kevin H. Phillips03 Jul 2003 16:16 
Victoria Reznichenko04 Jul 2003 08:29 
Kevin H. Phillips04 Jul 2003 09:09 
Nils Valentin06 Jul 2003 18:27 
Nils Valentin06 Jul 2003 18:34 
Kevin H. Phillips06 Jul 2003 19:16 
Nils Valentin06 Jul 2003 20:01 
Kevin H. Phillips07 Jul 2003 17:50 
Nils Valentin07 Jul 2003 18:03 
Kevin H. Phillips07 Jul 2003 18:24 
Nils Valentin07 Jul 2003 18:53 
Kevin H. Phillips07 Jul 2003 19:04 
Kevin H. Phillips07 Jul 2003 19:05 
Koh Swee Meng07 Jul 2003 19:54 
Koh Swee Meng07 Jul 2003 20:06 
Nils Valentin07 Jul 2003 20:29 
Nils Valentin07 Jul 2003 20:31 
Victoria Reznichenko08 Jul 2003 07:36 
Mikko Noromaa08 Jul 2003 14:37 
Paul DuBois08 Jul 2003 19:13 
Paul DuBois08 Jul 2003 19:16 
Nils Valentin08 Jul 2003 20:29 
Nils Valentin08 Jul 2003 20:33 
Kevin H. Phillips09 Jul 2003 19:23 
Nils Valentin09 Jul 2003 19:29 
Kevin H. Phillips10 Jul 2003 04:51 
Subject:Re: Error 1044 & Error 2003 on 4.0.13 and RH9
From:Kevin H. Phillips (kh-p@9-5usa.org)
Date:07/07/2003 05:50:45 PM
List:com.mysql.lists.mysql

Hi, Nils I was able to stop the mysqld daemon using the kill command. However, when I tried to start it using mysqld_safe --skip-grant-tables, a line would appear saying: [root@mail root]# mysqld_safe --skip-grant-tables Starting mysqld daemon with databases from /var/lib/mysql

with the cursor blinking at the left-hand side of the screen with apparently nothing going on. The daemon apparently *is* started because I can ping it and get an "alive" signal.

However, when I try granting options to root, I get an Error 1047: unknown command. (in the screen where I start the server, while the cursor is blinking, there will be no command line prompt so I have to open another terminal screen. If I type anything where the cursor is blinking in the first screen, nothing happens).

Best, Kevin

Nils Valentin wrote:

1) ps ax |grep mysqld

to display the process ID. You will get something like

704 ? SW 0:00 /bin/sh /usr/bin/mysqld_safe --datadir=/var/lib/mysql --pid-file=/var/run/mysql/mysql.pid 756 ? S 0:01 /usr/sbin/mysqld-max --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysql/mysql.pid --skip-locking 923 ? S 0:00 /usr/sbin/mysqld-max --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysql/mysql.pid --skip-locking

2) kill -9 <processid)

That WILL stop the mysqld demon. In case you see several processes (which is more likely), just start wit the first processid shown.

3) Check again with "ps ax |grep mysqld" that ALL processes stopped. 4) proceed as described in my previous e-mail. 5) After having setup the rights for the "root" user. you should make sure that all database files are intact (myisamchk etc)

Best regards