![]() |
![]() ![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 62 Pomógł: 4 Dołączył: 24.08.2006 Ostrzeżenie: (0%) ![]() ![]() |
mam problem z serverem php po odopaleniu skrypnuj jak nizej nie pojawiam mi sie nic po za 123..(niema ani informac o ustanowieniu poloczenia ani o braku poloczenia ) server php zainstalowany jest pod windowsem wie ktos co to moze byc
![]() [php]<?php echo '123...'; $link = mysql_connect('localhost', 'root', 'niepowiem') or die('Nie można się połączyć: ' . mysql_error()); print ('Połączenie nawiązane'); mysql_create_db("zawodnicy"); mysql_close($link); ?> |
|
|
![]()
Post
#2
|
|
![]() Grupa: Moderatorzy Postów: 4 465 Pomógł: 137 Dołączył: 26.03.2004 Skąd: Gorzów Wlkp. ![]() |
Skrypt działa - zobacz, czy masz włączone raportownaie błędów w php.ini . Jeśli nie, to włącz. Na pewno masz mysql'a zainstalowanego? Sprawdź jeszcze, czy wpisujesz poprawne dane do połączenia.
Pozdrawiam. -------------------- To think for yourself you must question authority and
learn how to put yourself in a state of vulnerable, open-mindedness; chaotic, confused, vulnerability, to inform yourself. Think for yourself. Question authority. |
|
|
![]()
Post
#3
|
|
Grupa: Zarejestrowani Postów: 62 Pomógł: 4 Dołączył: 24.08.2006 Ostrzeżenie: (0%) ![]() ![]() |
sytuacja sie troche poprawila ale teraz mam
Nie można się połšczyć: Client does not support authentication protocol requested by server; consider upgrading MySQL client |
|
|
![]()
Post
#4
|
|
![]() Grupa: Moderatorzy Postów: 4 465 Pomógł: 137 Dołączył: 26.03.2004 Skąd: Gorzów Wlkp. ![]() |
Spróbuj przez mysqli_connect() , bo masz z tego co widzę mysql'a 5, albo używaj PDO. Jeśli jednak koniecznie chcesz mysql_xxx to poszukaj na forum topików związanych z konfiguracją php i przejrzyj manual. Zaleca się jednak stosowanie PDO.
Pozdrawiam. Ten post edytował Cysiaczek 1.09.2006, 01:39:45 -------------------- To think for yourself you must question authority and
learn how to put yourself in a state of vulnerable, open-mindedness; chaotic, confused, vulnerability, to inform yourself. Think for yourself. Question authority. |
|
|
![]()
Post
#5
|
|
Grupa: Zarejestrowani Postów: 62 Pomógł: 4 Dołączył: 24.08.2006 Ostrzeżenie: (0%) ![]() ![]() |
Fatal error: Call to undefined function: mysqli_connect() in E:\public_html\index.php on line 3
uzywam mysql 4.cos tam co to jest PDO ![]() |
|
|
![]()
Post
#6
|
|
![]() Grupa: Moderatorzy Postów: 4 465 Pomógł: 137 Dołączył: 26.03.2004 Skąd: Gorzów Wlkp. ![]() |
0. Uaktualnij biblioteki php odpowiedzialne za MySQL'a.
1. Jaką wersję php posiadasz? 2. Cytat uzywam mysql 4.cos tam Akurat to "coś tam" jest najważniejsze w tym wypadku :/ 3. Poczytaj o PDO w manualu Pozdrawiam. -------------------- To think for yourself you must question authority and
learn how to put yourself in a state of vulnerable, open-mindedness; chaotic, confused, vulnerability, to inform yourself. Think for yourself. Question authority. |
|
|
![]()
Post
#7
|
|
Grupa: Zarejestrowani Postów: 62 Pomógł: 4 Dołączył: 24.08.2006 Ostrzeżenie: (0%) ![]() ![]() |
my sql 4.1.7
php 4.4.4 czyli naj z seri 4 napisze odpiwec moze kogos to zaciekawi zmienil sie sposub logowania i server tzreba odplac z parametrem --old-passwords |
|
|
![]() ![]() |
![]() |
Wersja Lo-Fi | Aktualny czas: 18.07.2025 - 08:38 |