I've upgraded MySQL from version 4.1.9 to version 4.1.12. After this the mysql's log were full of lines such this:

050722 18:30:47 [Warning] './dbname/counter' had no or invalid character set, and default character set is multi-byte, so character column sizes may have changed
050722 18:30:47 [Warning] './dbname/banners' had no or invalid character set, and default character set is multi-byte, so character column sizes may have changed
...

So, I have to use ALTER DATABASE:

ALTER DATABASE `dbname` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci

The upgrade script should be more intelligent.

Thanks!

Thanks for the hint. Helped me solve my problem...see "brusselsshrek" post on:

http://dev.mysql.com/doc/mysql/en/charset-table.html

You're welcome

You're welcome :)
--
Fehér János aka Aries

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Slideshows can be added to this post.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <h1> <h2> <h3> <h4> <img> <span> <div>
  • Lines and paragraphs break automatically.

More information about formatting options