OK back to basics.
1. Let's check to see if it's actually running first. Type
If it is then you should be able to connect to it in a very crude fashion by typing
then you need to stop it. Type
Quote:
/etc/rc.d/init.d/mysqld stop
|
You need to be root to stop it. If you get an error here then you need to paste it back to this thread.
2. Now that we know it's not running (hopefully), you should try to start it (as root) with
Quote:
/etc/rc.d/init.d/mysqld start
|
This will presumably give you the error from before.
Quote:
061013 22:58:53 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist
|
I don't know much about your mysql installation - except for the fact that you have re-installed it. A standard install will place your important mysql database file here :
This is where you should find yours - unless you have altered the config in some way.
In this directory you should see (amongst all the other files) this :
Quote:
-rw-rw---- 1 mysql mysql 9416 Oct 9 20:53 host.frm
-rw-rw---- 1 mysql mysql 390 Oct 9 22:02 host.MYD
-rw-rw---- 1 mysql mysql 3072 Oct 9 22:42 host.MYI
|
If you do not then this is the source (by the looks of things) of your problems.
Have you moved the database files? Or have you changed the config to make mysql think it's files are somewhere else?
Good Luck.