![]() |
![]() ![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 31 Pomógł: 0 Dołączył: 17.05.2003 Skąd: Gliwice Ostrzeżenie: (0%) ![]() ![]() |
Uruchamiam serwer MySQL takim poleceniem:
[list] Wyskakuje mi taki komunikat: [list]# Starting mysqld daemon with databases from /usr/local/mysql-4.0.17/data 040204 19:40:24 mysqld ended [1]+ Done bin/mysqld_safe user=mysql [list] Lecz, gdy sprawdzam, czy chodzi (poleceniem: bin/mysqladmin ping ), to wyskakuje mi komunikat: [list]bin/mysqladmin: connect to server at 'localhost' failed error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111)' Check that mysqld is running and that the socket: '/tmp/mysql.sock' exists! [list]I nie wiem jak sobie z tym poradzić :cry: |
|
|
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 150 Pomógł: 0 Dołączył: 9.07.2003 Skąd: Lublin city Ostrzeżenie: (0%) ![]() ![]() |
Utworz uzytkownika np. mysql, nastepnie:
chown -R mysql /path/mysql/data chgrp -R mysql /path/mysql/data odpalasz z katalogu /path/mysql/bin/ ./mysqld -u mysql & and: Cytat mysql 1652 1.1 4.2 30660 10764 pts/1 S 21:57 0:00 ./mysqld -u mysql
-------------------- (none)
|
|
|
![]()
Post
#3
|
|
Grupa: Zarejestrowani Postów: 31 Pomógł: 0 Dołączył: 17.05.2003 Skąd: Gliwice Ostrzeżenie: (0%) ![]() ![]() |
Dzięki, udało mi się uruchomić
![]() |
|
|
![]()
Post
#4
|
|
Grupa: Zarejestrowani Postów: 31 Pomógł: 0 Dołączył: 17.05.2003 Skąd: Gliwice Ostrzeżenie: (0%) ![]() ![]() |
Ale gdy chcę skonfigurować php, tak aby działała też baza danych ( ./configure --with-mysql=/path ) to po skonfigurowaniu i wpisaniu make na końcu pokazuje mi się coś takiego:
[list]/home/lukasz/Documents/lukasz-s/php-4.3.4/ext/mysql/php_mysql.c:1158: undefined reference to `mysql_create_db' ext/mysql/php_mysql.o(.text+0x238d): In function `zif_mysql_drop_db': /home/lukasz/Documents/lukasz-s/php-4.3.4/ext/mysql/php_mysql.c:1200: undefined reference to `mysql_drop_db' collect2: ld returned 1 exit status make: *** [sapi/cli/php] Błąd 1 [list]Nie wiem jak sobie z tym poradzić :? |
|
|
![]() ![]() |
![]() |
Wersja Lo-Fi | Aktualny czas: 12.07.2025 - 07:38 |