MySQL 2002 error

Problems with the Linux version of XAMPP, questions, comments, and anything related.

MySQL 2002 error

Postby Compact » 02. November 2005 22:08

Hi. When I try to acces to phpmyadmin it says "error 2002". Can anyone help me, please? :cry:

I'm using Kubuntu 5.10.
Compact
 
Posts: 12
Joined: 02. November 2005 21:47

Postby deepsurfer » 02. November 2005 22:31

is the mysql-server startet ?

it says "error 2002".

only this says phpmyadmin ?

please post the complette error message
chirio Deep
Wie sagte einst der MCP aus Tron auf dem Bildschirm zu schreiben Pflegte
" ... end of communication ... "
User avatar
deepsurfer
AF Moderator
 
Posts: 6440
Joined: 23. November 2004 10:44
Location: Cologne
Operating System: Win-XP / Win7 / Linux -Debian

Postby Compact » 04. November 2005 16:58

Today I discovered that mysql server is not running, but when I start lampp it says "XAMPP: Starting MySQL...". What do I have to do to solve this problem? Thax.
Compact
 
Posts: 12
Joined: 02. November 2005 21:47

Postby Compact » 04. November 2005 23:24

I see in the mysql error log that the server can't start because it can access some files:

mysqld started
[ERROR] /opt/lampp/sbin/mysqld: Can't find file: './mysql/host.frm' (errno: 13)
[ERROR] /opt/lampp/sbin/mysqld: Can't find file: './mysql/host.frm' (errno: 13)
[ERROR] Fatal error: Can't open and lock privilege tables: Can't find file: './mysql/host.frm' (errno: 13)
mysqld ended

Where is this file? Why can't the mysqld acces this file?
Compact
 
Posts: 12
Joined: 02. November 2005 21:47

Postby Wiedmann » 05. November 2005 00:38

Someone have delete a neccessary system table. So your mysqld can't work.

Replace the tables from your backup.
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 12 guests