MySQL will not start, “MySQL File ‘/usr/share/mysql/charsets/?.conf’ not found” in error log.

The most common cause for this error, is a failed downgrade of MySQL from 4.1 to 4.0.  Many
changes were made between MySQL 3.x, 4.0.x, and 4.1.

The actual cause of the error itself, is missing character sets from the 4.1.x series.  The best way
to recover, would be to use a backup of your database made before the upgrade to 4.1.  This way
you can be sure there are no changes that would adversly affect the db.

As a last restort, you will need to upgrade to 4.1 again.  Once your server is running MySQL 4.1,
you can dump the databases to a 4.0 format, and facilitate a downgrade to 4.0.

To do this, open an ssh shell, and dump the database with the following command:

mysqldump --create-options --compatible=mysql40 db_name > dump_file

Just substitue your database name for db_name, and your file for dump_file.  After this has been
completed for all databases, you can completely uninstall MySQL 4.1, and reinstall MySQL 4.0.  After
that it is just a matter of importing all of your databases to your newly installed MySQL 4.0 instance.

  • Email, SSL
  • 0 Корисниците го најдоа ова како корисно
Дали Ви помогна овој одговор?

Related Articles

Change the DNS servers for the network interfaces on Windows server

In Network Connections, right-click the local area connection, and then click Properties. In...

How to Install MRTG

Solution Steps for MRTG installation are documented as MRTG Installation Make sure MRTG is NOT...

Restore a database on SQL Server using .mdf, .ldf and .ndf files?

You need to attach the database rather than perform a restore. Using Enterprise Manager: Expand...

Backing up and restoring a MySQL database from the command line

. Shell into your box as root, then: mysqldump -a -u USERNAME -p DATABASE > FILENAME.mysql...

Manage Tablespaces

Tablespaces in PostgreSQL allow database administrators to define locations in the file system...