![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 141 Pomógł: 0 Dołączył: 24.07.2003 Ostrzeżenie: (10%) ![]() ![]() |
Chciałem zainstalować sobie MySQL'a 5.
Sciągnąłem więc "coś" co się nazywa Kod mysql-standard-5.0.15-linux-i686-glibc23.tar.gz w nadzieji, że będą to źródła. Nic bardziej mylnego. Po wydaniu polecenia:Kod ./configure --prefix=/usr/local/mysql wywaliło mi taki komunikat: Kod 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 Fill help tables 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 ! To do so, start the server, then issue the following commands: ./bin/mysqladmin -u root password 'new-password' ./bin/mysqladmin -u root -h proxy-2 password 'new-password' See the manual for more instructions. You can start the MySQL daemon with: cd .; ./bin/mysqld_safe & You can test the MySQL daemon with the benchmarks in the 'sql-bench' directory: cd sql-bench; perl 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@proxy-2:/stuff/project/mysql# Starting mysqld daemon with databases from /stuff/project/mysql/data STOPPING server from pid file /stuff/project/mysql/data/proxy-2.pid 051116 12:45:37 mysqld ended no super... znaczy to, że źródła są już nie dostępne ? Niełamiąc się przekopiowałem całe binaria do /usr/local/mysql W następnym kroku powinienem uruchomić mysql_install_db. Uruchomiłem i oto co się stało: Kod ./mysql_install_db: line 1: my_print_defaults: command not found Could not find help file 'fill_help_tables.sql' in ./support-files or inside .. fajnie... ...to może mysqld_safe & Kod root@proxy-2:/stuff/project/mysql/bin# ./safe_mysqld: line 1: my_print_defaults: command not found ./safe_mysqld: line 1: my_print_defaults: command not found The file /usr/local/mysql/bin/mysqld doesn't exist or is not executable Please do a cd to the mysql installation directory and restart this script from there as follows: ./bin/mysqld_safe. See http://dev.mysql.com/doc/mysql/en/mysqld_safe.html for more information W sumie to ostatni raz instalowałem MySQL'a jakoś ponad rok temu i nie pamiętam abym napotkał na takie problemy, ale może coś od tego czasu się zmieniło. Czy możecie pomóc mi zrozumieć co źle robie i naprowadzić mnie na poprawne rozwiązanie ? [edit] aha, jeszcze to: Kod ./mysqladmin -u root password '666'
./mysqladmin: connect to server at 'localhost' failed error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)' Check that mysqld is running and that the socket: '/tmp/mysql.sock' exists! Ten post edytował czezz 16.11.2005, 12:52:43 |
|
|
![]() ![]() |
![]() |
Aktualny czas: 27.08.2025 - 12:44 |