Re: MySQL-Installation

From: Martin Schulze <joey_at_infodrom.org>
Date: Thu, 26 Jul 2007 11:48:30 +0200

Franz D. Schreiner wrote:
> ich arbeite zum ersten mal mit MySQL. In meiner fabelhaften Vorlesung über
> praktische Informatik mit Thema DBMS gabs nix über Installation. Wollte
> sagen, bin nicht der völlige Dummie, aber könnte mir mal jemand das untige
> erklären ? Wie legt man die Dateien mysql.db und mysql.host an ?

> 070725 16:33:05 mysqld started
> nohup: ignoriere Eingabe
> 070725 16:33:05 InnoDB: Database was not shut down normally!
> InnoDB: Starting crash recovery.
> InnoDB: Reading tablespace information from the .ibd files...
> InnoDB: Restoring possible half-written data pages from the doublewrite
> InnoDB: buffer...
> 070725 16:33:05 InnoDB: Starting log scan based on checkpoint at
> InnoDB: log sequence number 0 36808.
> InnoDB: Doing recovery: scanned up to log sequence number 0 43655
> 070725 16:33:05 InnoDB: Starting an apply batch of log records to the
> database...
> InnoDB: Progress in percents: 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
> 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
> 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72
> 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98
> 99
> InnoDB: Apply batch completed
> 070725 16:33:06 InnoDB: Started; log sequence number 0 43655
> 070725 16:33:06 [ERROR] Fatal error: Can't open and lock privilege tables:
> Table 'mysql.host' doesn't exist
> 070725 16:33:06 mysqld ended

Um das hier in den richtigen Kontext zu bekommen:

Meine Befuerchtung ist, dass Du da ganz grosse K***e hast und Du mysql komplett
samt allen konfigurationen wegwerfen und neu installieren solltest.

Ich wuerde eine Installation, die obiges liefert, als hochgradig broken
bezeichnen.

Ich gehe mal vorsichtig davon aus, dass Du die Datenbank auch als richtiger
User (i.e. mysql bzw. root) startest und nicht von Deinem User-Account aus.

Gruesse,

        Joey

-- 
A mathematician is a machine for converting coffee into theorems.   Paul Erdös
Received on Thu Jul 26 2007 - 11:48:30 CEST

This archive was generated by hypermail 2.2.0 : Thu Jul 26 2007 - 11:57:15 CEST