ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] MySQL update
@ 2008-02-12 11:36 Alexey Morsov
  2008-02-12 11:49 ` Alex Gorbachenko
  0 siblings, 1 reply; 8+ messages in thread
From: Alexey Morsov @ 2008-02-12 11:36 UTC (permalink / raw)
  To: ALT Linux Community

[-- Attachment #1: Type: text/plain, Size: 2339 bytes --]

Приветствую.

Этот мускул меня замучил вконец (я про 5ку). Обновил сейчас из updates (ну
все и его в частности).
Имею опять двадцать пять:

[root@sql init.d]# service mysqld start
Installing all prepared tables
Please report any problems with the /usr/bin/mysqlbug script!

The latest information about MySQL is available on the web at
http://www.mysql.com
Adjusting environment for mysqld:
[ DONE ]
Unable to find charset: UTF8
Unable to find proper charset from system locale, setting 'latin1'.
Please edit mysqld init script and set proper charset.
Starting mysqld service:     


[root@sql init.d]# cat /var/lib/mysql/my.cnf
[mysqld]
# Default to using old password format for compatibility with mysql 3.x
# clients (those using the mysqlclient10 compatibility package).
old_passwords=1
# FIXME! bdb maybe work on x86/Linux and amd64/Linux
skip-bdb
chroot=/var/lib/mysql
datadir=/db
bdb-logdir=/log
log=/log/queries
pid-file=/mysqld.pid
skip-locking
#skip-networking
socket=/mysql.sock
tmpdir=/tmp
user=mysql
collation_server=utf8_unicode_ci
#collation_server=utf8_bin
character_set_server=utf8
#skip-character-set-client-handshake


Раньше с этим конфигом таки запускался (хотя я так и не пойму из какого
места и куда ему эти кодировки запихивать). Чтение мануала на сайте так до
меня до сих пор не донесло как с этим уродством "кодировки в mysql5"
работать. У меня вот вообще ща на хосте (замену которому я готовлю) 4-ый
мускль, а базы там одна в кои другая в utf8. На новом этом мне что-то
никак не удается это все привести в чувство :(

-- 
С уважением,
Алексей Морсов
программист ЗАО "ИК "Риком-Траст"

Jabber: samurai@www.fondmarket.ru
ICQ: 196766290
www.ricom.ru
www.fondmarket.ru

ALT Linux Team Member
email: swi@altlinux.ru
web: www.altlinux.ru, www.sisyphus.ru

NP: BLACK HEAVEN / Kunstwerk: 9 - Aus Gold


[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 481 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Comm] MySQL update
  2008-02-12 11:36 [Comm] MySQL update Alexey Morsov
@ 2008-02-12 11:49 ` Alex Gorbachenko
  2008-02-12 12:13   ` Alexey Morsov
  0 siblings, 1 reply; 8+ messages in thread
From: Alex Gorbachenko @ 2008-02-12 11:49 UTC (permalink / raw)
  To: community

[-- Attachment #1: Type: text/plain, Size: 213 bytes --]

On Tue, 12 Feb 2008 14:36:57 +0300
Alexey wrote:

>Этот мускул меня замучил вконец (я про 5ку). 

https://bugzilla.altlinux.org/show_bug.cgi?id=13909

оно ?

-- 
np: Killswitch Engage - Desperate Times

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Comm] MySQL update
  2008-02-12 11:49 ` Alex Gorbachenko
@ 2008-02-12 12:13   ` Alexey Morsov
  2008-02-12 12:29     ` Aleksander N.Gorohovski
  2008-02-12 12:42     ` Alex Gorbachenko
  0 siblings, 2 replies; 8+ messages in thread
From: Alexey Morsov @ 2008-02-12 12:13 UTC (permalink / raw)
  To: community

[-- Attachment #1: Type: text/plain, Size: 877 bytes --]

On Tue, Feb 12, 2008 at 02:49:36PM +0300, Alex Gorbachenko wrote:
> 
> >Этот мускул меня замучил вконец (я про 5ку). 
> 
> https://bugzilla.altlinux.org/show_bug.cgi?id=13909
> 
> оно ?
Блин. Да. Опять оно. Я ж забыл что в init-скрипте тогда рукой ему башку
открутил (utf8 прибил гвоздями)...

Вообще это чудовище (mysql5) теперь какое-то вовсе неюзабельное :(

-- 
С уважением,
Алексей Морсов
программист ЗАО "ИК "Риком-Траст"

Jabber: samurai@www.fondmarket.ru
ICQ: 196766290
www.ricom.ru
www.fondmarket.ru

ALT Linux Team Member
email: swi@altlinux.ru
web: www.altlinux.ru, www.sisyphus.ru

NP: BLACK HEAVEN / Kunstwerk: 13 - Aus der Stille


[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 481 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Comm] MySQL update
  2008-02-12 12:13   ` Alexey Morsov
@ 2008-02-12 12:29     ` Aleksander N.Gorohovski
  2008-02-12 12:46       ` Alexey Morsov
  2008-02-12 12:42     ` Alex Gorbachenko
  1 sibling, 1 reply; 8+ messages in thread
From: Aleksander N.Gorohovski @ 2008-02-12 12:29 UTC (permalink / raw)
  To: ALT Linux Community general discussions

On Tue, 12 Feb 2008 14:13:19 +0200, Alexey Morsov <samurai@ricom.ru> wrote:

> On Tue, Feb 12, 2008 at 02:49:36PM +0300, Alex Gorbachenko wrote:
>>
>> >Этот мускул меня замучил вконец (я про 5ку).
>>
>> https://bugzilla.altlinux.org/show_bug.cgi?id=13909
>>
>> оно ?
> Блин. Да. Опять оно. Я ж забыл что в init-скрипте тогда рукой ему башку
> открутил (utf8 прибил гвоздями)...
>
> Вообще это чудовище (mysql5) теперь какое-то вовсе неюзабельное :(

А мне нравиться
:)


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Comm] MySQL update
  2008-02-12 12:13   ` Alexey Morsov
  2008-02-12 12:29     ` Aleksander N.Gorohovski
@ 2008-02-12 12:42     ` Alex Gorbachenko
  1 sibling, 0 replies; 8+ messages in thread
From: Alex Gorbachenko @ 2008-02-12 12:42 UTC (permalink / raw)
  To: community

[-- Attachment #1: Type: text/plain, Size: 299 bytes --]

On Tue, 12 Feb 2008 15:13:19 +0300
Alexey wrote:

>Блин. Да. Опять оно. Я ж забыл что в init-скрипте тогда рукой ему башку
>открутил (utf8 прибил гвоздями)...

не надо так делать.

надо в /etc/sysconfig/mysqld выставить CHSET раз и навсегда.

-- 
np: Killswitch Engage - Desperate Times

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Comm] MySQL update
  2008-02-12 12:29     ` Aleksander N.Gorohovski
@ 2008-02-12 12:46       ` Alexey Morsov
  2008-02-12 12:50         ` Alex Gorbachenko
  0 siblings, 1 reply; 8+ messages in thread
From: Alexey Morsov @ 2008-02-12 12:46 UTC (permalink / raw)
  To: community

[-- Attachment #1: Type: text/plain, Size: 693 bytes --]

On Tue, Feb 12, 2008 at 02:29:41PM +0200, Aleksander N.Gorohovski wrote:
> 
> А мне нравиться
> :)
Чем? ))
Серьезно - вот как мне грамотно мигрировать сервак с Mysql4 на mysql5
с учетом что на ем сейчас база одна в кои8 другая в utf8

-- 
С уважением,
Алексей Морсов
программист ЗАО "ИК "Риком-Траст"

Jabber: samurai@www.fondmarket.ru
ICQ: 196766290
www.ricom.ru
www.fondmarket.ru

ALT Linux Team Member
email: swi@altlinux.ru
web: www.altlinux.ru, www.sisyphus.ru

NP: Leaves' Eyes / Lovelorn: 1 - Norwegian Lovesong


[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 481 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Comm] MySQL update
  2008-02-12 12:46       ` Alexey Morsov
@ 2008-02-12 12:50         ` Alex Gorbachenko
  2008-02-12 13:19           ` Alexey Morsov
  0 siblings, 1 reply; 8+ messages in thread
From: Alex Gorbachenko @ 2008-02-12 12:50 UTC (permalink / raw)
  To: community

[-- Attachment #1: Type: text/plain, Size: 353 bytes --]

On Tue, 12 Feb 2008 15:46:14 +0300
Alexey wrote:

>Серьезно - вот как мне грамотно мигрировать сервак с Mysql4 на mysql5
>с учетом что на ем сейчас база одна в кои8 другая в utf8

mysqldump old_dbase -h old_host | iconv -f koi8-r -t utf8 -c | mysql
new_dbase -h new_host

либо через репликацию.

-- 
np: Killswitch Engage - Desperate Times

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Comm] MySQL update
  2008-02-12 12:50         ` Alex Gorbachenko
@ 2008-02-12 13:19           ` Alexey Morsov
  0 siblings, 0 replies; 8+ messages in thread
From: Alexey Morsov @ 2008-02-12 13:19 UTC (permalink / raw)
  To: community

[-- Attachment #1: Type: text/plain, Size: 1074 bytes --]

On Tue, Feb 12, 2008 at 03:50:25PM +0300, Alex Gorbachenko wrote:
> >Серьезно - вот как мне грамотно мигрировать сервак с Mysql4 на mysql5
> >с учетом что на ем сейчас база одна в кои8 другая в utf8
> 
> mysqldump old_dbase -h old_host | iconv -f koi8-r -t utf8 -c | mysql
> new_dbase -h new_host

Ууууууууууу. ну блин... это и я сделать могу - это не переход а костыли.
Мне бы хотелось бы таки оставить ее в koi8 ;)

> 
> либо через репликацию.
Видел я ее...больше не хочу.


-- 
С уважением,
Алексей Морсов
программист ЗАО "ИК "Риком-Траст"

Jabber: samurai@www.fondmarket.ru
ICQ: 196766290
www.ricom.ru
www.fondmarket.ru

ALT Linux Team Member
email: swi@altlinux.ru
web: www.altlinux.ru, www.sisyphus.ru

NP: Leaves' Eyes / Lovelorn: 5 - The Dream
[paused]  #6/11   3:34/5:00 (71%)


[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 481 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2008-02-12 13:19 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-12 11:36 [Comm] MySQL update Alexey Morsov
2008-02-12 11:49 ` Alex Gorbachenko
2008-02-12 12:13   ` Alexey Morsov
2008-02-12 12:29     ` Aleksander N.Gorohovski
2008-02-12 12:46       ` Alexey Morsov
2008-02-12 12:50         ` Alex Gorbachenko
2008-02-12 13:19           ` Alexey Morsov
2008-02-12 12:42     ` Alex Gorbachenko

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git