Pomoc - Szukaj - Użytkownicy - Kalendarz
Pełna wersja: problem z kompilacją mysql na Aurox
Forum PHP.pl > Forum > Serwery WWW
mdco
Witam
Jestem początkujący jeżeli chodzi o linuxa.
Mam problem z zainstalowaniem mysql pod Auroxem.
Uzywam polecenia:
[root@localhost mysql-3.23.58-pc-linux-i686]# ./configure --prefix=/usr/local/mysql --with-charset=latin2

i wyrzucam mi cos takiego:

NOTE: This is a MySQL binary distribution. It's ready to run, you don't
need to configure it!

To help you a bit, I am now going to create the needed MySQL databases
and start the MySQL server for you. If you run into any trouble, please
consult the MySQL manual, that you can find in the Docs directory.

Installing all prepared tables
060304 12:13:21 ./bin/mysqld: Shutdown Complete


To start mysqld at boot time you have to copy support-files/mysql.server
to the right place for your system

PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
This is done with:
./bin/mysqladmin -u root password 'new-password'
./bin/mysqladmin -u root -h localhost.localdomain password 'new-password'
See the manual for more instructions.

NOTE: If you are upgrading from a MySQL <= 3.22.10 you should run
the ./bin/mysql_fix_privilege_tables. Otherwise you will not be
able to use the new GRANT command!

You can start the MySQL daemon with:
cd . ; ./bin/safe_mysqld &

You can test the MySQL daemon with the benchmarks in the 'sql-bench' directory:
cd sql-bench ; run-all-tests

Please report any problems with the ./bin/mysqlbug script!

The latest information about MySQL is available on the web at
http://www.mysql.com
Support MySQL by buying support/licenses at https://order.mysql.com

Starting the mysqld server. You can test that it is up and running
with the command:
./bin/mysqladmin version
[root@localhost mysql-3.23.58-pc-linux-i686]# chown: `mysql': błędna użytkownik
Starting mysqld daemon with databases from /usr/local/src/mysql-3.23.58-pc-linux-i686/data
060304 12:13:21 mysqld ended
------------------------------------------------

POMÓŻCIE PROSZE.
BARDZO PILNE!!!
DZIEKI
kszychu
Cytat(mdco @ 2005-03-04 12:18:11)
Uzywam polecenia:
[root@localhost mysql-3.23.58-pc-linux-i686]# ./configure --prefix=/usr/local/mysql --with-charset=latin2

i wyrzucam mi cos takiego:

NOTE: This is a MySQL binary distribution. It's ready to run, you don't
need to configure it!

Nie no, rozwaliłeś mnie tym, z podłogi wstać nie mogłem. Pewnie masz jakiegoś rpm'a. Nie pamiętam jak się instaluje rpmy, ale na pewno nie musisz ich kompilować.
mdco
to nie jest rpm
rozpakowałem mysql........tar.gz
dr_bonzo
Cytat
NOTE: This is a MySQL binary distribution. It's ready to run, you don't
need to configure it!
To jest juz skompilowana wersja, a ten skrypt przygotowuje ja do uzywania -- ustawia poczatkowa baze, itd. (Tam masz opisane jak uruchamiac mysqla itd.)

Na koniec probuje przyznac katalog ..../var/ dla usera mysql ktorego NIE MASZ W SYSTEMIE:
Cytat
chown: `mysql': błędna użytkownik
-- dodaj go i uruchom skrypt jeszce raz.

PS. Czemu uzywasz takieeej starej bazy -- 3.23, czemu nie 4.1?
mdco
Dzieki.
A jakbym zainstalował pakiet rpm?
zrobiłem tak:
rpm -Uvh *.rpm
zainsalowałem rpm i niby działa, ale jak mam sie dostać do poliku mysqladmin?
kszychu
/usr/bin/mysqladmin przynajmniej u mnie tam się znajduje. Jeśli nie to locate mysqladmin.
To jest wersja lo-fi głównej zawartości. Aby zobaczyć pełną wersję z większą zawartością, obrazkami i formatowaniem proszę kliknij tutaj.
Invision Power Board © 2001-2025 Invision Power Services, Inc.