![]() |
![]() |
![]()
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: 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ć :? |
|
|
![]() ![]() |
![]() |
Aktualny czas: 10.10.2025 - 17:57 |