473,789 Members | 1,961 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Mysql refusing to start

Hello,
I am really stuck with the following problem and I have tried
almost all options I could find on Google to no avail.

I recently installed the rpm version of MySQL server 5.0.26
on Fedora Core 3. When I try to start the MySQL server, it fails and
this is the error log I get.

061112 14:50:29 mysqld started
061112 14:50:29 InnoDB: Started
061112 14:50:29 /usr/sbin/mysqld-max: Can't open file: 'host.MYI'
(errno: 142)
061112 14:50:29 Fatal error: Can't open privilege tables: File
'/usr/share/mysql/charsets/?.conf' not found (Errcode: 2)
061112 14:50:29 Aborting

061112 14:50:29 InnoDB: Starting shutdown...
061112 14:50:31 InnoDB: Shutdown completed
061112 14:50:31 /usr/sbin/mysqld-max: Shutdown complete

061112 14:50:31 mysqld ended

I checked the /var/lib/mysql/mysql directory for the host.MYI file and
it is present and owned by mysql with permissions rw_rw_ _ _ _. I
checked what error code 142 meant by

# perror 142

and got the response 'Unknown character set used"

So then I did

# myisamchk -dvv host.MYI and this is the response I get

MyISAM file: host.MYI
Record format: Fixed length
Character set: latin1_swedish_ ci (8)
File-version: 1
Creation time: 2006-11-11 15:34:53
Status: checked,analyze d,optimized keys,sorted index pages
Data records: 0 Deleted blocks: 0
Datafile parts: 0 Deleted data: 0
Datafile pointer (bytes): 6 Keyfile pointer (bytes): 5
Datafile length: 0 Keyfile length: 1024
Max datafile length: 109775240917155 838 Max keyfile length:
112589990684159 9
Recordlength: 390

table description:
Key Start Len Index Type Rec/key Root
Blocksize
1 2 180 unique char packed stripped 0
2048
182 192 char stripped 1

Field Start Length Nullpos Nullbit Type
1 1 1
2 2 180
3 182 192
4 374 1
5 375 1
6 376 1
7 377 1
8 378 1
9 379 1
10 380 1
11 381 1
12 382 1
13 383 1
14 384 1
15 385 1
16 386 1
17 387 1
18 388 1
19 389 1
20 390 1

Clearly, there is no character set missing in the Index file. I then
checked the /usr/share/mysql/charsets directory and found that it
contained only xml files for the index and charset definitions. So then
I transfered *.conf files and Index file into the directory from an
older version of mysql running on a different box. I made sure that the
latin1 character set is defined in both the index file as well as the
index.xml file. I also have the latin1.xml and latin1.conf files
present in the directory. Still no luck.

I am at my wit's end and would appreciate any suggestions to make it
work!

Nov 24 '06 #1
0 3028

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
2891
by: Stefan Hinz | last post by:
Degan, jumping in to try and solve some problems that look pretty obvious to me ... > #options for default service (mysqld2) > (mysqld2) It should be , not (mysqld2).
3
863
by: Mark Adams | last post by:
I am a relative newbie to MySQL. I had a Postfix+Courier+MySQL mail server running for several months. It took me a week or so to get it up and running in September. Now, I did a clean upgrade to Mandrake 9.2 and am reinstalling everything. This thing is kicking my ass and I can't seem to get past it. I could really use some help if anybody has any. Just for reference, this was my primary source for information on installation and...
0
5841
by: Mark Adams | last post by:
I am a relative newbie to MySQL. I had a Postfix+Courier+MySQL mail server running for several months. It took me a week or so to get it up and running in September. Now, I did a clean upgrade to Mandrake 9.2 and am reinstalling everything. This thing is kicking my ass and I can't seem to get past it. I could really use some help if anybody has any. Just for reference, this was my primary source for information on installation and...
0
2332
by: Mark Adams | last post by:
I really need some help with this. MySQL will not start on boot despite everything I've done to make sure that it is set to do so. When I start it as root from a terminal with "/usr/bin/mysqld_safe --skip-grant-tables &" I show several mysqld procs. and one mysqld_safe, but I can't connect: # ps -aux| grep mysql Warning: bad syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html root 3650 0.0 0.1 2276 664 ? S ...
1
2390
by: Maxim. V. | last post by:
Hello to everone, As mentioned in this *guide(1), i've compiled mysql on my fedora Core 2 system, with the following spec's : *(1) http://hulan.info/blog/index.php?itemid=576 --------------- bash START -------------- $ uname -a Linux localhost.localdomain 2.6.8-1.521 #1 Mon Aug 16 09:01:18 EDT
3
2753
by: Steve Farber | last post by:
I'm not especially new to databases and I have used ODBC before with other data sources, but I cannot seem to get Access 2003 to talk to MySQL 4.0.15. I have MySQL running with new tables defined, but I cannot get a connection to those tables via ODBC using MyODBC 3.51. Can anyone point the way? Many thanks,
2
2843
by: Frank Natoli | last post by:
Decided to update my desktop with latest MySQL Server 4.1.10a and connector 3.1.6. Un-installed MySQL Server 4.0.21. Now mysql.exe is refusing to start with error: ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO) Get same error when starting mysql.exe w/o user argument, except default user is ODBC rather than root.
3
2653
by: Stuart McGraw | last post by:
I am having a problem creating Access tables linked to a Mysql database. I get the widow to select a Data Source, click on the (system) DSN I created (and tested ok), and click ok. The Database Source selection window disappears, but no window showing the Mysql tables ever appears nor does any kind of error message (typical Microsoft.) I can read the Mysql table using ODBC from a Python program, so Mysql and ODBC seem to be working,...
6
38527
Atli
by: Atli | last post by:
This is an easy to digest 12 step guide on basics of using MySQL. It's a great refresher for those who need it and it work's great for first time MySQL users. Anyone should be able to get through this without much trouble. Programming knowledge is not required. Index What is SQL? Why MySQL? Installing MySQL. Using the MySQL command line interface
0
9656
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10374
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10177
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9969
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7519
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6750
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5404
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5539
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4076
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.