26 messages in com.mysql.lists.mysqlRe: Error 1044 & Error 2003 on 4.0.13...| From | Sent On | Attachments |
|---|---|---|
| Kevin H. Phillips | 03 Jul 2003 16:16 | |
| Victoria Reznichenko | 04 Jul 2003 08:29 | |
| Kevin H. Phillips | 04 Jul 2003 09:09 | |
| Nils Valentin | 06 Jul 2003 18:27 | |
| Nils Valentin | 06 Jul 2003 18:34 | |
| Kevin H. Phillips | 06 Jul 2003 19:16 | |
| Nils Valentin | 06 Jul 2003 20:01 | |
| Kevin H. Phillips | 07 Jul 2003 17:50 | |
| Nils Valentin | 07 Jul 2003 18:03 | |
| Kevin H. Phillips | 07 Jul 2003 18:24 | |
| Nils Valentin | 07 Jul 2003 18:53 | |
| Kevin H. Phillips | 07 Jul 2003 19:04 | |
| Kevin H. Phillips | 07 Jul 2003 19:05 | |
| Koh Swee Meng | 07 Jul 2003 19:54 | |
| Koh Swee Meng | 07 Jul 2003 20:06 | |
| Nils Valentin | 07 Jul 2003 20:29 | |
| Nils Valentin | 07 Jul 2003 20:31 | |
| Victoria Reznichenko | 08 Jul 2003 07:36 | |
| Mikko Noromaa | 08 Jul 2003 14:37 | |
| Paul DuBois | 08 Jul 2003 19:13 | |
| Paul DuBois | 08 Jul 2003 19:16 | |
| Nils Valentin | 08 Jul 2003 20:29 | |
| Nils Valentin | 08 Jul 2003 20:33 | |
| Kevin H. Phillips | 09 Jul 2003 19:23 | |
| Nils Valentin | 09 Jul 2003 19:29 | |
| Kevin H. Phillips | 10 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
Nils Valentin Tokyo/Japan




