"Maria Yndefors" <[EMAIL PROTECTED]> wrote:
> Hi,
> No I have not have MySql installed before and I am using version 1.4,
> but I used an my.cnf from another host with mysql 3.x
> 
> Now I can't even manage to start it I get the following in the log file
> 
> 040224 14:39:01  mysqld started
> 040224 14:39:04  InnoDB: Started
> 040224 14:39:04  Fatal error: Can't open privilege tables: Can't find
> file: './mysql/host.frm' (errno: 13)
> 040224 14:39:04  Aborting
> 
> 040224 14:39:04  InnoDB: Starting shutdown...
> 040224 14:39:06  InnoDB: Shutdown completed
> 040224 14:39:06  /usr/sbin/mysqld-max: Shutdown Complete
> 
> 040224 14:39:07  mysqld ended

$ perror 13
Error code  13:  Permission denied

Check privileges on the data dir. MySQL should be owner of the data dir.

> After installing it the first time I did not manage to log in as root to
> change the password.
> Is there some way to reset everything uninstall mysql and start all over
> from the beginning again?

If you want re-create grant tables, you should remove files from directory of the 
database 'mysql' and then run mysql_install_db script.


-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.net http://www.ensita.net/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Victoria Reznichenko
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.net
       <___/   www.mysql.com





-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to