Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> problem z uruchomieniem MySQL
jerzes
post
Post #1





Grupa: Zarejestrowani
Postów: 39
Pomógł: 0
Dołączył: 4.10.2003
Skąd: Poznań

Ostrzeżenie: (0%)
-----


Witam
Zaczne od tego ze przejrzalem juz google, manuala etc....
Zainstalowelm ze zrodel mysql wg. manuala, porad na forum itd. Za kazdym razem jak probuje jako root wejsc do mysql:
  1. ./mysql -u root
pojawia sie error: ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
Serwer odpalam
  1. ./mysqld --user=root

Uruchamiajac w trybie --skip-grant-tables nie moge ustawic hasla dla root.
W manualu jest napisane ze root nie ma ustawionego hasla wiec juz w ogole zglupialem :/
Prosze o pomoc
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
jerzes
post
Post #2





Grupa: Zarejestrowani
Postów: 39
Pomógł: 0
Dołączył: 4.10.2003
Skąd: Poznań

Ostrzeżenie: (0%)
-----


1. nie mialem wczesniej zainstalowanego mysqla. System (mandriva 2008.1) jest nowy, nie instalowalem tez z RPMow mysql
2. logowanie mi do mysql nigdy mi nie dzialalo (podejrzewam jakis blad z mojej strony)
3. jak juz pisalem startuje mysql jako root:
  1. ./mysqld --user=root


Co do podanego linku (http://dev.mysql.com/doc/refman/5.0/en/res...ermissions.html) tez to przerabialem i w logu jest error jesli chodzi o metode z plikiem zewnetrznym a jesli chodzi o odpalenie w trybie
  1. ./mysqld --user=root --skip-grant-tables
to udaje mi sie wejsc do mysql ale w momencie proby zmiany hasla wyskakuje komunikat ze operacja zostala wykonana ale ilosc uaktualnionych kolumn jest rowna 0.
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 14.10.2025 - 04:45