View previous topic :: View next topic |
Author |
Message |
yacenty Tux's lil' helper
Joined: 19 Jan 2005 Posts: 101
|
Posted: Sun Oct 23, 2005 2:35 pm Post subject: [solved] Problem z mysql 5 |
|
|
Witam!
nawet nie zauwazylem dokladnie kiedy w systemie mialem upgrade Mysqla do wersji 5.0
dalem mu pozniej mysql_install_db
chicialem dodac hasla dla roota, ale juz nie lykal komend z opisu konfiguracji mysqla
teraz przy probie odpalenia wywala takie cos
Code: | /usr/bin/mysqld_safe &
[1] 9823
yacenty yacenty # Starting mysqld daemon with databases from /var/lib/mysql
STOPPING server from pid file /var/run/mysqld/mysqld.pid
051023 16:26:19 mysqld ended
|
albo
Code: | /etc/init.d/mysql restart
* Stopping mysqld (/etc/mysql/my.cnf) ... [ ok ]
* Starting mysqld (/etc/mysql/my.cnf) ...
..... * MySQL NOT started, proceding anyway |
co moze byc? co robic:)
ktos sie juz z tym spotkal?
dodatkowo pojawily sie problemy ze wszystkimi aplikacjami korzystajacymi z mysqla jak np amarok ktory nie widzi libmysqlclient
co to moze byc?
pozdrawiam
YacentY
Last edited by yacenty on Mon Oct 24, 2005 10:37 am; edited 1 time in total |
|
Back to top |
|
|
muchar Bodhisattva
Joined: 04 Feb 2004 Posts: 690 Location: /dev/urandom
|
Posted: Sun Oct 23, 2005 3:03 pm Post subject: |
|
|
Po pierwsze. Nie mogłeś "nagle nie zauważyć" że masz już mysql 5.x, bo musiałeś dać:
Code: | export MYSQL_STRAIGHT_UPGRADE=1 |
Poza tym trzeba uważnie czytać co Gentoo napisało na ekranie:
Code: | * MySQL DATADIR is /var/lib/mysql
* Previous datadir found, it's YOUR job to change
* ownership and have care of it
* If you're upgrading from MySQL-3.x to 4.0, or 4.0.x to 4.1.x, you
* must recompile the other packages on your system that link with
* libmysqlclient after the upgrade completes. To obtain such a list
* of packages for your system, you may use 'revdep-rebuild' from
* app-portage/gentoolkit.
*
* the value of "innodb_log_file_size" into /etc/mysql/my.cnf file
* has changed size from "8M" to "5M".
* To start mysql either revert the value back to "8M" or backup and
* remove the old ib_logfile* from the datadir
|
Więc proszę, ogranicz te niepotrzebne ściemy.
EDIT: Może to Ci coś pomoże: http://www.gentoo.org/doc/en/mysql-upgrading.xml _________________ MuchaR
Nie denerwuj mnie. Kliknij tu!!!
Homepage: http://muchar.one.pl!!! |
|
Back to top |
|
|
rudyyy Tux's lil' helper
Joined: 29 Jul 2005 Posts: 134 Location: /root
|
Posted: Sun Oct 23, 2005 4:37 pm Post subject: |
|
|
dokladnie to samo mam ci do powiedzenia - niemozliwe, zebys nie zauwazyl ze masz nagle 5.0
wklej logi moze z /var/log/mysql/* bo nic nie wiadomo
ze amarok ci nie widzi libmysql*, powod jest prosty - zmienila sie ta biblioteka w nowej wersji mysqla. uruchom revdep-rebuild albo przekomiluj reszcznie emerge -D --newuse world |
|
Back to top |
|
|
yacenty Tux's lil' helper
Joined: 19 Jan 2005 Posts: 101
|
Posted: Sun Oct 23, 2005 6:53 pm Post subject: |
|
|
/var/log/mysql/mysqld.err
Code: | 051023 20:31:44 mysqld started
051023 20:31:45 [Warning] No argument was provided to --log-bin, and --log-bin-index was not used; so replication may break when this MySQL server acts as
a master and has his hostname changed!! Please use '--log-bin=yacenty-bin' to avoid this problem.
InnoDB: Error: log file ./ib_logfile0 is of different size 0 8388608 bytes
InnoDB: than specified in the .cnf file 0 5242880 bytes!
051023 20:31:45 [ERROR] Can't init databases
051023 20:31:45 [ERROR] Aborting
051023 20:31:45 [Note] /usr/sbin/mysqld: Shutdown complete
051023 20:31:45 mysqld ended |
a co do wydawania specjalnych polecen to nic nie dawalem
jedyne co zrobilem to wywalilem wczesniej mysqla 4
fakt zle sie wczesniej wyrazilem.
nie doczytalem tego info o zmianie wielkosci pliku
sorki za zawracanie dupy
dzieki za wskazowki
pozdrawiam
YacentY |
|
Back to top |
|
|
|