Instalacja MySql

Konfiguracja serwerów, usług, itp.
bartek
Beginner
Posty: 130
Rejestracja: 01 maja 2006, 08:14

Instalacja MySql

Post autor: bartek » 31 maja 2006, 10:13


linuxwbiznesie
Posty: 5
Rejestracja: 28 czerwca 2006, 09:17

Post autor: linuxwbiznesie » 28 czerwca 2006, 10:07

1. Pobranie źródeł
http://dev.mysql.com/downloads/mysql/4.0.html

2. Dodanie grupy oraz użytkownika systemowego
# groupadd mysql
# useradd -g mysql mysql

3. Rozpakowanie źródeł
# tar -zxvf mysql-4.0.27-0.tar.gz

4. Przejście do katalogu, gdzie znajduja się rozpakowane źródła i przeprowadzamy kompilacje
# ./configure --prefix=/usr/local/mysql --with-charset=latin2
# make
# make

5. Po poprawnej instalacji należy zainstalować baze danych mysql (by działał serwer MySQL)
# ./scripts/mysql_install_db

6. Następnie zmieniamy właściciela oraz grupę katalogu gdzie jest MySQL (w tym wypadku /usr/local/mysql/var)
# chown -R mysql /usr/local/mysql
# chgrp -R mysql /usr/local/mysql
Ten zabieg umożliwi uruchomienie serwera z prawami normalnego użytkownika.

7. Teraz trzeba skopiować do katalogu, gdzie są pliki konfiguracyjne mysql plik my.cnf

8. Uruchomienie serwera
# mysqld_safe &

mortalord
Posty: 19
Rejestracja: 18 października 2006, 01:58
Lokalizacja: ¯ukowo

Post autor: mortalord » 22 października 2006, 13:05

JAK JU¯ WSPOMNIA£E MWCZE¦NIEJ:
mortalord pisze:w pliku konfiguracyjnym php.ini była zachaszowane 2 linijki odpowiadające mysql'owi

jak napisałem wcześniej w pliku php.ini odchaszowałem 2 linijki oto te

Kod: Zaznacz cały

extension=mysql.so
extension=gd.so

ale dzisiaj zauważyłem że znowu pokazuje mi że obsługa MySQL niedostępne co siędzieje?? Sprawdziełm w pliku php.ini jest tak jak było te 2 linijki nadal są odchaszowane.

Proszę kogośo pomoc

Keke
Posty: 1
Rejestracja: 31 grudnia 2006, 17:41

Post autor: Keke » 31 grudnia 2006, 17:42

podczas konfiguracji mam taki blad
configure: error: No curses/termcap library found
prosze o pomoc :/ nie mam jakis pakietow?

lach84
Posty: 6
Rejestracja: 29 grudnia 2006, 20:01

Post autor: lach84 » 15 lutego 2007, 13:28

Podczas instalacji MySQL terz miałem problem z wyskakującym błędem
„configure: error: No curses/termcap library found”

apt-get install libncurses5-dev

rozwiązało problem

tosiek
Posty: 42
Rejestracja: 09 lipca 2007, 12:56
Lokalizacja: st±d

Post autor: tosiek » 14 lipca 2007, 11:18

a ja mam taki błąd :-/

Kod: Zaznacz cały

localhost:~# apt-get install mysql-client-5.0 mysql-server-5.0 libmysqlclient15-dev
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności... Gotowe
Sugerowane pakiety:
  tinyca
Zostaną zainstalowane następujące NOWE pakiety:
  libmysqlclient15-dev mysql-client-5.0 mysql-server-5.0
0 aktualizowanych, 3 nowo instalowanych, 0 usuwanych i 2 nieaktualizowanych.
Konieczne pobranie 0B/40,7MB archiwów.
Po rozpakowaniu zostanie dodatkowo użyte 115MB miejsca na dysku.
Zmiana nośnika: Proszę włożyć dysk oznaczony
 'Debian GNU/Linux 4.0 r0 _Etch_ - Official amd64 DVD Binary-1 20070407-12:15'
do napędu '/cdrom/' i nacisnąć enter

Prekonfiguracja pakietów ...
Zaznaczenie poprzednio niezaznaczonego pakietu mysql-client-5.0.
(Odczytywanie bazy danych ... 101012 plików i katalogów obecnie zainstalowanych.)
Rozpakowanie mysql-client-5.0 (z .../mysql-client-5.0_5.0.32-7etch1_amd64.deb) ...
Zaznaczenie poprzednio niezaznaczonego pakietu mysql-server-5.0.
Rozpakowanie mysql-server-5.0 (z .../mysql-server-5.0_5.0.32-7etch1_amd64.deb) ...
Zaznaczenie poprzednio niezaznaczonego pakietu libmysqlclient15-dev.
Rozpakowanie libmysqlclient15-dev (z .../libmysqlclient15-dev_5.0.32-7etch1_amd64.deb) ...
Konfigurowanie mysql-client-5.0 (5.0.32-7etch1) ...
Konfigurowanie mysql-server-5.0 (5.0.32-7etch1) ...
Stopping MySQL database server: mysqld.
Starting MySQL database server: mysqld . . . . . . . . . . . . . . failed!
invoke-rc.d: initscript mysql, action "start" failed.
dpkg: błąd przetwarzania mysql-server-5.0 (--configure):
 podproces post-installation script zwrócił kod błędu 1
Konfigurowanie libmysqlclient15-dev (5.0.32-7etch1) ...

Wystąpiły błędy podczas przetwarzania:
 mysql-server-5.0
E: Sub-process /usr/bin/dpkg returned an error code (1)
localhost:~#


[ Dodano: 2007-07-14, 11:20 ]
baza nie chce wystartować , pomoże mi ktoś w tym jak to naprawić ? prosto po instalacji taki błąd mam

bartek
Beginner
Posty: 130
Rejestracja: 01 maja 2006, 08:14

Post autor: bartek » 14 lipca 2007, 12:02

hej,

1. na początek sprawdź swoje sources.list - jeśli masz sieć nie wiedzę powodu używania płyt
2. LOGI LOGI sam skrypt startowy jak widać nie pokazał błędu więc - /var/log/syslog, deamon.log etc

Pozdrawiam,
br

tosiek
Posty: 42
Rejestracja: 09 lipca 2007, 12:56
Lokalizacja: st±d

Post autor: tosiek » 14 lipca 2007, 18:31

to ostatnio jak dziś robiłem mysql z /var/log/daemon.log

Kod: Zaznacz cały

Jul 14 17:03:03 localhost mysqld_safe[2974]: started
Jul 14 17:03:03 localhost mysqld[2977]: 070714 17:03:03  InnoDB: Started; log sequence number 0 43655
Jul 14 17:03:04 localhost mysqld[2977]: 070714 17:03:04 [Note] /usr/sbin/mysqld: ready for connections.
Jul 14 17:03:04 localhost mysqld[2977]: Version: '5.0.32-Debian_7etch1-log'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  Debian etch distribution
Jul 14 17:03:05 localhost /etc/mysql/debian-start[3037]: Upgrading MySQL tables if necessary.
Jul 14 17:03:07 localhost /etc/mysql/debian-start[3175]: Checking for crashed MySQL tables.
Jul 14 17:03:07 localhost avahi-daemon[3178]: Found user 'avahi' (UID 104) and group 'avahi' (GID 105).
Jul 14 17:03:07 localhost avahi-daemon[3178]: Successfully dropped root privileges.
Jul 14 17:03:07 localhost avahi-daemon[3178]: avahi-daemon 0.6.16 starting up.
Jul 14 17:03:07 localhost avahi-daemon[3178]: Successfully called chroot().
Jul 14 17:03:07 localhost avahi-daemon[3178]: Successfully dropped remaining capabilities.
Jul 14 17:03:07 localhost avahi-daemon[3178]: No service found in /etc/avahi/services.
Jul 14 17:03:07 localhost avahi-daemon[3178]: Network interface enumeration completed.
Jul 14 17:03:07 localhost avahi-daemon[3178]: Registering HINFO record with values 'X86_64'/'LINUX'.
Jul 14 17:03:07 localhost avahi-daemon[3178]: Server startup complete. Host name is localhost.local. Local service cookie is 655795722.
Jul 14 17:03:09 localhost rpc.statd[3330]: Version 1.0.10 Starting
Jul 14 17:03:09 localhost rpc.statd[3330]: unable to register (statd, 1, udp).
Jul 14 17:39:23 localhost mysqld[2977]: 070714 17:39:23 [Note] /usr/sbin/mysqld: Normal shutdown
Jul 14 17:39:23 localhost mysqld[2977]:
Jul 14 17:39:23 localhost mysqld[2977]: 070714 17:39:23  InnoDB: Starting shutdown...
Jul 14 17:39:24 localhost mysqld[2977]: 070714 17:39:24  InnoDB: Shutdown completed; log sequence number 0 43655
Jul 14 17:39:24 localhost mysqld[2977]: 070714 17:39:24 [Note] /usr/sbin/mysqld: Shutdown complete
Jul 14 17:39:24 localhost mysqld[2977]:
Jul 14 17:39:24 localhost mysqld_safe[23885]: ended
Jul 14 17:53:13 localhost mysqld_safe[31836]: PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
Jul 14 17:53:13 localhost mysqld_safe[31836]: To do so, start the server, then issue the following commands:
Jul 14 17:53:13 localhost mysqld_safe[31836]: /usr/bin/mysqladmin -u root password 'new-password'
Jul 14 17:53:13 localhost mysqld_safe[31836]: /usr/bin/mysqladmin -u root -h localhost password 'new-password'
Jul 14 17:53:13 localhost mysqld_safe[31836]: See the manual for more instructions.
Jul 14 17:53:13 localhost mysqld_safe[31836]:
Jul 14 17:53:13 localhost mysqld_safe[31836]: NOTE:  If you are upgrading from a MySQL <= 3.22.10 you should run
Jul 14 17:53:13 localhost mysqld_safe[31836]: the /usr/bin/mysql_fix_privilege_tables. Otherwise you will not be
Jul 14 17:53:13 localhost mysqld_safe[31836]: able to use the new GRANT command!
Jul 14 17:53:13 localhost mysqld_safe[31836]:
Jul 14 17:53:13 localhost mysqld_safe[31836]: Please report any problems with the /usr/bin/mysqlbug script!
Jul 14 17:53:13 localhost mysqld_safe[31836]:

Jul 14 17:03:07 localhost avahi-daemon[3178]: No service found in /etc/avahi/services.
Jul 14 17:03:07 localhost avahi-daemon[3178]: Network interface enumeration completed.
Jul 14 17:03:07 localhost avahi-daemon[3178]: Registering HINFO record with values 'X86_64'/'LINUX'.
Jul 14 17:03:07 localhost avahi-daemon[3178]: Server startup complete. Host name is localhost.local. Local service cookie is 655795722.
Jul 14 17:03:09 localhost rpc.statd[3330]: Version 1.0.10 Starting
Jul 14 17:03:09 localhost rpc.statd[3330]: unable to register (statd, 1, udp).
Jul 14 17:39:23 localhost mysqld[2977]: 070714 17:39:23 [Note] /usr/sbin/mysqld: Normal shutdown
Jul 14 17:39:23 localhost mysqld[2977]:
Jul 14 17:39:23 localhost mysqld[2977]: 070714 17:39:23  InnoDB: Starting shutdown...
Jul 14 17:39:24 localhost mysqld[2977]: 070714 17:39:24  InnoDB: Shutdown completed; log sequence number 0 43655
Jul 14 17:39:24 localhost mysqld[2977]: 070714 17:39:24 [Note] /usr/sbin/mysqld: Shutdown complete
Jul 14 17:39:24 localhost mysqld[2977]:
Jul 14 17:39:24 localhost mysqld_safe[23885]: ended
Jul 14 17:53:13 localhost mysqld_safe[31836]: PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
Jul 14 17:53:13 localhost mysqld_safe[31836]: To do so, start the server, then issue the following commands:
Jul 14 17:53:13 localhost mysqld_safe[31836]: /usr/bin/mysqladmin -u root password 'new-password'
Jul 14 17:53:13 localhost mysqld_safe[31836]: /usr/bin/mysqladmin -u root -h localhost password 'new-password'
Jul 14 17:53:13 localhost mysqld_safe[31836]: See the manual for more instructions.
Jul 14 17:53:13 localhost mysqld_safe[31836]:
Jul 14 17:53:13 localhost mysqld_safe[31836]: NOTE:  If you are upgrading from a MySQL <= 3.22.10 you should run
Jul 14 17:53:13 localhost mysqld_safe[31836]: the /usr/bin/mysql_fix_privilege_tables. Otherwise you will not be
Jul 14 17:53:13 localhost mysqld_safe[31836]: able to use the new GRANT command!
Jul 14 17:53:13 localhost mysqld_safe[31836]:
Jul 14 17:53:13 localhost mysqld_safe[31836]: Please report any problems with the /usr/bin/mysqlbug script!
Jul 14 17:53:13 localhost mysqld_safe[31836]:
Jul 14 17:53:13 localhost mysqld_safe[31836]: The latest information about MySQL is available on the web at
Jul 14 17:53:13 localhost mysqld_safe[31836]: [url]http://www.mysql.com[/url]
Jul 14 17:53:13 localhost mysqld_safe[31836]: Support MySQL by buying support/licenses at [url]http://shop.mysql.com[/url]
Jul 14 17:53:16 localhost mysqld_safe[32006]: started
Jul 14 17:53:16 localhost mysqld[32009]: 070714 17:53:16  InnoDB: Started; log sequence number 0 43655
Jul 14 17:53:16 localhost mysqld[32009]: 070714 17:53:16 [ERROR] Can't start server: Bind on TCP/IP port: Cannot assign requested address
Jul 14 17:53:16 localhost mysqld[32009]: 070714 17:53:16 [ERROR] Do you already have another mysqld server running on port: 3306 ?
Jul 14 17:53:16 localhost mysqld[32009]: 070714 17:53:16 [ERROR] Aborting
Jul 14 17:53:16 localhost mysqld[32009]:
Jul 14 17:53:16 localhost mysqld[32009]: 070714 17:53:16  InnoDB: Starting shutdown...
Jul 14 17:53:18 localhost mysqld[32009]: 070714 17:53:18  InnoDB: Shutdown completed; log sequence number 0 43655
Jul 14 17:53:18 localhost mysqld[32009]: 070714 17:53:18 [Note] /usr/sbin/mysqld: Shutdown complete
Jul 14 17:53:18 localhost mysqld[32009]:
Jul 14 17:53:18 localhost mysqld_safe[32056]: ended
Jul 14 17:53:30 localhost /etc/init.d/mysql[32286]: 0 processes alive and '/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf ping' resulted in
Jul 14 17:53:30 localhost /etc/init.d/mysql[32286]: ^G/usr/bin/mysqladmin: connect to server at 'localhost' failed
Jul 14 17:53:30 localhost /etc/init.d/mysql[32286]: error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'
Jul 14 17:53:30 localhost /etc/init.d/mysql[32286]: Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists!
Jul 14 17:53:30 localhost /etc/init.d/mysql[32286]:


[ Dodano: 2007-07-14, 18:32 ]

Kod: Zaznacz cały

localhost:/home/daniel# mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
localhost:/home/daniel#
w tym katalogu nic nie ma

[ Dodano: 2007-07-14, 18:36 ]
a to z syslog

Kod: Zaznacz cały

Jul 14 17:39:23 localhost mysqld[2977]: 070714 17:39:23 [Note] /usr/sbin/mysqld: Normal shutdown
Jul 14 17:39:23 localhost mysqld[2977]:
Jul 14 17:39:23 localhost mysqld[2977]: 070714 17:39:23  InnoDB: Starting shutdown...
Jul 14 17:39:24 localhost mysqld[2977]: 070714 17:39:24  InnoDB: Shutdown completed; log sequence number 0 43655
Jul 14 17:39:24 localhost mysqld[2977]: 070714 17:39:24 [Note] /usr/sbin/mysqld: Shutdown complete
Jul 14 17:39:24 localhost mysqld[2977]:
Jul 14 17:39:24 localhost mysqld_safe[23885]: ended
Jul 14 17:48:51 localhost kernel: operapluginwrap[10132]: segfault at 00000000000004d1 rip 00000000f7d5b066 rsp 00000000ff8ad6b0 error 4
Jul 14 17:53:13 localhost mysqld_safe[31836]: PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
Jul 14 17:53:13 localhost mysqld_safe[31836]: To do so, start the server, then issue the following commands:
Jul 14 17:53:13 localhost mysqld_safe[31836]: /usr/bin/mysqladmin -u root password 'new-password'
Jul 14 17:53:13 localhost mysqld_safe[31836]: /usr/bin/mysqladmin -u root -h localhost password 'new-password'
Jul 14 17:53:13 localhost mysqld_safe[31836]: See the manual for more instructions.
Jul 14 17:53:13 localhost mysqld_safe[31836]:
Jul 14 17:53:13 localhost mysqld_safe[31836]: NOTE:  If you are upgrading from a MySQL <= 3.22.10 you should run
Jul 14 17:53:13 localhost mysqld_safe[31836]: the /usr/bin/mysql_fix_privilege_tables. Otherwise you will not be
Jul 14 17:53:13 localhost mysqld_safe[31836]: able to use the new GRANT command!
Jul 14 17:53:13 localhost mysqld_safe[31836]:
Jul 14 17:53:13 localhost mysqld_safe[31836]: Please report any problems with the /usr/bin/mysqlbug script!
Jul 14 17:53:13 localhost mysqld_safe[31836]:
Jul 14 17:53:13 localhost mysqld_safe[31836]: The latest information about MySQL is available on the web at
Jul 14 17:53:13 localhost mysqld_safe[31836]: [url]http://www.mysql.com[/url]
Jul 14 17:53:13 localhost mysqld_safe[31836]: Support MySQL by buying support/licenses at [url]http://shop.mysql.com[/url]
Jul 14 17:53:16 localhost mysqld_safe[32006]: started
Jul 14 17:53:16 localhost mysqld[32009]: 070714 17:53:16  InnoDB: Started; log sequence number 0 43655
Jul 14 17:53:16 localhost mysqld[32009]: 070714 17:53:16 [ERROR] Can't start server: Bind on TCP/IP port: Cannot assign requested address
Jul 14 17:53:16 localhost mysqld[32009]: 070714 17:53:16 [ERROR] Do you already have another mysqld server running on port: 3306 ?
Jul 14 17:53:16 localhost mysqld[32009]: 070714 17:53:16 [ERROR] Aborting
Jul 14 17:53:16 localhost mysqld[32009]:
Jul 14 17:53:16 localhost mysqld[32009]: 070714 17:53:16  InnoDB: Starting shutdown...
Jul 14 17:53:18 localhost mysqld[32009]: 070714 17:53:18  InnoDB: Shutdown completed; log sequence number 0 43655
Jul 14 17:53:18 localhost mysqld[32009]: 070714 17:53:18 [Note] /usr/sbin/mysqld: Shutdown complete
Jul 14 17:53:18 localhost mysqld[32009]:
Jul 14 17:53:18 localhost mysqld_safe[32056]: ended
Jul 14 17:53:13 localhost mysqld_safe[31836]: To do so, start the server, then issue the following commands:
Jul 14 17:53:13 localhost mysqld_safe[31836]: /usr/bin/mysqladmin -u root password 'new-password'
Jul 14 17:53:13 localhost mysqld_safe[31836]: /usr/bin/mysqladmin -u root -h localhost password 'new-password'
Jul 14 17:53:13 localhost mysqld_safe[31836]: See the manual for more instructions.
Jul 14 17:53:13 localhost mysqld_safe[31836]:
Jul 14 17:53:13 localhost mysqld_safe[31836]: NOTE:  If you are upgrading from a MySQL <= 3.22.10 you should run
Jul 14 17:53:13 localhost mysqld_safe[31836]: the /usr/bin/mysql_fix_privilege_tables. Otherwise you will not be
Jul 14 17:53:13 localhost mysqld_safe[31836]: able to use the new GRANT command!
Jul 14 17:53:13 localhost mysqld_safe[31836]:
Jul 14 17:53:13 localhost mysqld_safe[31836]: Please report any problems with the /usr/bin/mysqlbug script!
Jul 14 17:53:13 localhost mysqld_safe[31836]:
Jul 14 17:53:13 localhost mysqld_safe[31836]: The latest information about MySQL is available on the web at
Jul 14 17:53:13 localhost mysqld_safe[31836]: [url]http://www.mysql.com[/url]
Jul 14 17:53:13 localhost mysqld_safe[31836]: Support MySQL by buying support/licenses at [url]http://shop.mysql.com[/url]
Jul 14 17:53:16 localhost mysqld_safe[32006]: started
Jul 14 17:53:16 localhost mysqld[32009]: 070714 17:53:16  InnoDB: Started; log sequence number 0 43655
Jul 14 17:53:16 localhost mysqld[32009]: 070714 17:53:16 [ERROR] Can't start server: Bind on TCP/IP port: Cannot assign requested address
Jul 14 17:53:16 localhost mysqld[32009]: 070714 17:53:16 [ERROR] Do you already have another mysqld server running on port: 3306 ?
Jul 14 17:53:16 localhost mysqld[32009]: 070714 17:53:16 [ERROR] Aborting
Jul 14 17:53:16 localhost mysqld[32009]:
Jul 14 17:53:16 localhost mysqld[32009]: 070714 17:53:16  InnoDB: Starting shutdown...
Jul 14 17:53:18 localhost mysqld[32009]: 070714 17:53:18  InnoDB: Shutdown completed; log sequence number 0 43655
Jul 14 17:53:18 localhost mysqld[32009]: 070714 17:53:18 [Note] /usr/sbin/mysqld: Shutdown complete
Jul 14 17:53:18 localhost mysqld[32009]:
Jul 14 17:53:18 localhost mysqld_safe[32056]: ended
Jul 14 17:53:30 localhost /etc/init.d/mysql[32286]: 0 processes alive and '/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf ping' resulted in
Jul 14 17:53:30 localhost /etc/init.d/mysql[32286]: ^G/usr/bin/mysqladmin: connect to server at 'localhost' failed
Jul 14 17:53:30 localhost /etc/init.d/mysql[32286]: error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'
Jul 14 17:53:30 localhost /etc/init.d/mysql[32286]: Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists!
Jul 14 17:53:30 localhost /etc/init.d/mysql[32286]:
Jul 14 18:17:01 localhost /USR/SBIN/CRON[12987]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Jul 14 18:25:47 localhost kernel: operapluginwrap[29718]: segfault at 00000000000004d1 rip 00000000f7dd0066 rsp 00000000fffcfdd0 error 4
wrzucałem tylko to co jest z mysql bo kernel to chyab nie potrzebne

[ Dodano: 2007-07-14, 18:41 ]
mysql.log nic nie posiada, a user.log posiada to:

Kod: Zaznacz cały

2007-07-14 17:39:16 status half-configured mysql-server-5.0 5.0.32-7etch1
2007-07-14 17:39:22 remove mysql-server-5.0 5.0.32-7etch1 5.0.32-7etch1
2007-07-14 17:39:22 status half-configured mysql-server-5.0 5.0.32-7etch1
2007-07-14 17:39:25 status half-installed mysql-server-5.0 5.0.32-7etch1
2007-07-14 17:39:26 status config-files mysql-server-5.0 5.0.32-7etch1
2007-07-14 17:39:26 status config-files mysql-server-5.0 5.0.32-7etch1
2007-07-14 17:39:26 status installed libmysqlclient15-dev 5.0.32-7etch1
2007-07-14 17:39:26 remove libmysqlclient15-dev 5.0.32-7etch1 5.0.32-7etch1
2007-07-14 17:39:26 status half-configured libmysqlclient15-dev 5.0.32-7etch1
2007-07-14 17:39:26 status half-installed libmysqlclient15-dev 5.0.32-7etch1
2007-07-14 17:39:36 status config-files libmysqlclient15-dev 5.0.32-7etch1
2007-07-14 17:39:36 status config-files libmysqlclient15-dev 5.0.32-7etch1
2007-07-14 17:39:36 status installed mysql-client-5.0 5.0.32-7etch1
2007-07-14 17:39:36 remove mysql-client-5.0 5.0.32-7etch1 5.0.32-7etch1
2007-07-14 17:39:36 status half-configured mysql-client-5.0 5.0.32-7etch1
2007-07-14 17:39:36 status half-installed mysql-client-5.0 5.0.32-7etch1
2007-07-14 17:39:36 status config-files mysql-client-5.0 5.0.32-7etch1
2007-07-14 17:39:36 status config-files mysql-client-5.0 5.0.32-7etch1
2007-07-14 17:39:36 status config-files mysql-client-5.0 5.0.32-7etch1
2007-07-14 17:39:36 status not-installed mysql-client-5.0 <brak>
2007-07-14 17:53:06 install mysql-client-5.0 <brak> 5.0.32-7etch1
2007-07-14 17:53:06 status half-installed mysql-client-5.0 5.0.32-7etch1
2007-07-14 17:53:07 status unpacked mysql-client-5.0 5.0.32-7etch1
2007-07-14 17:53:07 status unpacked mysql-client-5.0 5.0.32-7etch1
2007-07-14 17:53:07 install mysql-server-5.0 5.0.32-7etch1 5.0.32-7etch1
2007-07-14 17:53:07 status half-installed mysql-server-5.0 5.0.32-7etch1
2007-07-14 17:53:11 status unpacked mysql-server-5.0 5.0.32-7etch1
2007-07-14 17:53:12 status unpacked mysql-server-5.0 5.0.32-7etch1
2007-07-14 17:53:12 install libmysqlclient15-dev 5.0.32-7etch1 5.0.32-7etch1
2007-07-14 17:53:12 status half-installed libmysqlclient15-dev 5.0.32-7etch1
2007-07-14 17:53:13 status unpacked libmysqlclient15-dev 5.0.32-7etch1
2007-07-14 17:53:13 status unpacked libmysqlclient15-dev 5.0.32-7etch1
2007-07-14 17:53:13 status unpacked mysql-client-5.0 5.0.32-7etch1
2007-07-14 17:53:13 status half-configured mysql-client-5.0 5.0.32-7etch1
2007-07-14 17:53:13 status installed mysql-client-5.0 5.0.32-7etch1
2007-07-14 17:53:13 status unpacked mysql-server-5.0 5.0.32-7etch1
2007-07-14 17:53:13 status unpacked mysql-server-5.0 5.0.32-7etch1
2007-07-14 17:53:13 status unpacked mysql-server-5.0 5.0.32-7etch1
2007-07-14 17:53:13 status unpacked mysql-server-5.0 5.0.32-7etch1
2007-07-14 17:53:13 status unpacked mysql-server-5.0 5.0.32-7etch1
2007-07-14 17:53:13 status unpacked mysql-server-5.0 5.0.32-7etch1
2007-07-14 17:53:13 status unpacked mysql-server-5.0 5.0.32-7etch1
2007-07-14 17:53:13 status unpacked mysql-server-5.0 5.0.32-7etch1
2007-07-14 17:53:13 status unpacked mysql-server-5.0 5.0.32-7etch1
2007-07-14 17:53:13 status unpacked mysql-server-5.0 5.0.32-7etch1
2007-07-14 17:53:13 status unpacked mysql-server-5.0 5.0.32-7etch1
2007-07-14 17:53:13 status half-configured mysql-server-5.0 5.0.32-7etch1
2007-07-14 17:53:30 status unpacked libmysqlclient15-dev 5.0.32-7etch1
2007-07-14 17:53:30 status half-configured libmysqlclient15-dev 5.0.32-7etch1
2007-07-14 17:53:30 status installed libmysqlclient15-dev 5.0.32-7etch1


[ Dodano: 2007-07-15, 10:33 ]
znalazlem jeszcze cs takiego

Kod: Zaznacz cały

localhost:/home/daniel# dpkg-reconfigure mysql-server
Pakiet `mysql-server' nie jest zainstalowany i informacje o nim nie są dostępne.Użyj dpkg --info (= dpkg-deb --info), aby zobaczyć informacje o pakiecie,
oraz dpkg --contents (= dpkg-deb --contents), aby sprawdzić jego zawartość.
/usr/sbin/dpkg-reconfigure: mysql-server nie jest zainstalowany
localhost:/home/daniel#

sebastianzar
Posty: 3
Rejestracja: 08 sierpnia 2007, 13:23
Lokalizacja: Gran Canaria

Post autor: sebastianzar » 09 sierpnia 2007, 03:48

Witam mam maly problem z mysql przy kopilacji wychodzi mi error moze ktos wie czego nie mam lub co jest nie tak
./configure --prefix=/usr/local/mysql --with-charset=latin2
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... (cached) yes
checking for gawk... (cached) mawk
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C preprocessor... gcc -E
checking "C Compiler version"... "gcc gcc (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)"
checking "C++ compiler version"... "g++ g++ (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)"
checking for ranlib... ranlib
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... (cached) ranlib
checking for strip... strip
checking if gcc static flag works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking for a BSD-compatible install... /usr/bin/install -c
checking for bison... no
checking for byacc... no
checking for pdftex... manual.pdf
checking for tex... manual.dvi
checking "return type of sprintf"... "int"
checking for uname... /bin/uname
checking operating system... Linux
checking "if we should use 'skip-locking' as default for linux-gnu"... "yes"
checking for ln... /bin/ln
checking for ln... /bin/ln
checking for mv... /bin/mv
checking for rm... /bin/rm
checking for cp... /bin/cp
checking for sed... /bin/sed
checking for cmp... /usr/bin/cmp
checking for chmod... /bin/chmod
checking for hostname... /bin/hostname
checking for gnutar... no
checking for gtar... no
checking for tar... tar
checking for perl... /usr/bin/perl
checking for ps... /bin/ps
checking "how to check if pid exists"... "/bin/ps p $$PID | grep mysqld > /dev/null"
checking for kill... /bin/kill
checking "for kill switches"... "/bin/kill -0 $$PID > /dev/null 2> /dev/null"
checking for gcc option to accept ANSI C...
nm: lc-messages.o: no symbols
nm: lc-monetary.o: no symbols
nm: lc-numeric.o: no symbols
nm: lc-time.o: no symbols
nm: lc-paper.o: no symbols
nm: lc-name.o: no symbols
nm: lc-address.o: no symbols
nm: lc-telephone.o: no symbols
nm: lc-measurement.o: no symbols
nm: lc-identification.o: no symbols
nm: lc-collate.o: no symbols
nm: old_atexit.o: no symbols
nm: udiv_qrnnd.o: no symbols
nm: mp_clz_tab.o: no symbols
nm: getopt_init.o: no symbols
nm: init-posix.o: no symbols
nm: lseek64.o: no symbols
nm: oldgetrlimit64.o: no symbols
nm: getutmpx.o: no symbols
checking if we should use assembler functions... no
checking if we should use RAID... no
checking If we should should enable LOAD DATA LOCAL by default... no
checking for getconf... getconf
checking for CFLAGS value to request large file support... -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
checking for LDFLAGS value to request large file support...
checking for LIBS value to request large file support...
checking for _FILE_OFFSET_BITS... 64
checking for _LARGEFILE_SOURCE... 1
checking for _LARGE_FILES... no
checking for size_t... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking floatingpoint.h usability... no
checking floatingpoint.h presence... no
checking for floatingpoint.h... no
checking ieeefp.h usability... no
checking ieeefp.h presence... no
checking for ieeefp.h... no
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for memory.h... (cached) yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking select.h usability... no
checking select.h presence... no
checking for select.h... no
checking for stdlib.h... (cached) yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for strings.h... (cached) yes
checking for string.h... (cached) yes
checking synch.h usability... no
checking synch.h presence... no
checking for synch.h... no
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking sys/timeb.h usability... yes
checking sys/timeb.h presence... yes
checking for sys/timeb.h... yes
checking for sys/types.h... (cached) yes
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking sys/vadvise.h usability... no
checking sys/vadvise.h presence... no
checking for sys/vadvise.h... no
checking for sys/wait.h... (cached) yes
checking term.h usability... no
checking term.h presence... no
checking for term.h... no
checking for unistd.h... (cached) yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking sys/utime.h usability... no
checking sys/utime.h presence... no
checking for sys/utime.h... no
checking termio.h usability... yes
checking termio.h presence... yes
checking for termio.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking sched.h usability... yes
checking sched.h presence... yes
checking for sched.h... yes
checking crypt.h usability... yes
checking crypt.h presence... yes
checking for crypt.h... yes
checking alloca.h usability... yes
checking alloca.h presence... yes
checking for alloca.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking sys/malloc.h usability... no
checking sys/malloc.h presence... no
checking for sys/malloc.h... no
checking linux/config.h usability... yes
checking linux/config.h presence... yes
checking for linux/config.h... yes
checking for floor in -lm... yes
checking for gethostbyname_r in -lnsl_r... no
checking for gethostbyname_r in -lnsl... yes
checking for gethostbyname_r... yes
checking for setsockopt... yes
checking for yp_get_default_domain... yes
checking for p2open... no
checking for p2open in -lgen... no
checking for bind... yes
checking for crypt in -lcrypt... yes
checking for crypt... yes
checking for sem_init... no
checking for sem_init in -lposix4... no
checking if libz with compress... yes
checking for atomic operations... no
checking if we should use pstack... no
checking for int8... no
checking "LinuxThreads"... "Found"
checking "named thread libs:"... "-lpthread"
checking for strtok_r in -lpthread... yes
checking for strtok_r... yes
checking for dlopen in -ldl... yes
checking for unistd.h... (cached) yes
checking for restartable system calls... yes
checking "need of special linking flags"... "-rdynamic"
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for off_t... yes
checking for struct stat.st_rdev... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for char... yes
checking size of char... 1
checking for char*... yes
checking size of char*... 4
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 4
checking for long long... yes
checking size of long long... 8
checking size of off_t... 8
checking whether byte ordering is bigendian... no
checking base type of last arg to accept... socklen_t
checking stack direction for C alloca... -1
checking for working alloca.h... (cached) yes
checking for alloca... yes
checking if struct timespec has a ts_sec member... no
checking if we have tzname variable... yes
checking for type ulong... yes
checking for type uchar... no
checking for type uint... yes
checking for type fp_except... no
checking for type in_addr_t... yes
checking if g++ supports bool types... yes
checking if conversion of longlong to float works... yes
checking if pthread_yield takes zero arguments... yes
checking if pthread_yield takes 1 argument... no
checking varargs.h usability... no
checking varargs.h presence... no
checking for varargs.h... no
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking ndir.h usability... no
checking ndir.h presence... no
checking for ndir.h... no
checking sys/dir.h usability... yes
checking sys/dir.h presence... yes
checking for sys/dir.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/ndir.h usability... no
checking sys/ndir.h presence... no
checking for sys/ndir.h... no
checking sys/ptem.h usability... no
checking sys/ptem.h presence... no
checking for sys/ptem.h... no
checking sys/pte.h usability... no
checking sys/pte.h presence... no
checking for sys/pte.h... no
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/stream.h usability... no
checking sys/stream.h presence... no
checking for sys/stream.h... no
checking for sys/mman.h... (cached) yes
checking curses.h usability... no
checking curses.h presence... no
checking for curses.h... no
checking termcap.h usability... no
checking termcap.h presence... no
checking for termcap.h... no
checking for termio.h... (cached) yes
checking termbits.h usability... no
checking termbits.h presence... no
checking for termbits.h... no
checking asm/termbits.h usability... yes
checking asm/termbits.h presence... yes
checking for asm/termbits.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking paths.h usability... yes
checking paths.h presence... yes
checking for paths.h... yes
checking semaphore.h usability... yes
checking semaphore.h presence... yes
checking for semaphore.h... yes
checking for lstat... yes
checking for putenv... yes
checking for select... yes
checking for setenv... yes
checking for setlocale... yes
checking for strcoll... yes
checking for tcgetattr... yes
checking whether stat file-mode macros are broken... no
checking return type of signal handlers... void
checking for type of signal functions... posix
checking whether programs are able to redeclare getpw functions... yes
checking for TIOCGWINSZ in sys/ioctl.h... yes
checking for FIONREAD in sys/ioctl.h... yes
checking for TIOCSTAT in sys/ioctl.h... no
checking if struct dirent has a d_ino member... yes
checking whether signal handlers are of type void... yes
checking for tgetent in -lncurses... no
checking for tgetent in -lcurses... no
checking for tgetent in -ltermcap... no
checking for termcap functions library... configure: error: No curses/termcap library found
perfectday:/usr/src/mysql-4.0.24#
z gory dziekuje za pomoc rozwiazania mojego problemu
pozdrawiam

Rad
Member
Posty: 1208
Rejestracja: 28 czerwca 2006, 15:05

Post autor: Rad » 09 sierpnia 2007, 11:17

aptitude install libncurses5-dev

Czytaj komunikaty.

ODPOWIEDZ