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%)
-----


Zgadza sie.Dzieki Szopen za dobre checi (IMG:http://forum.php.pl/style_emoticons/default/snitch.gif) wydaje mi sie ze jednak jest problem z kompilacja zrodla albo instalacja bo przy komendzie mysql_install_db wyskakuje blad ze nie mozna utworzyc bazy danych itd... i to niezaleznie od tego czy wydaje ta komende jako uzytkownik root czy mysql
CODE
Installing MySQL system tables...
080901 0:50:01 [Warning] option 'thread_stack': unsigned value 65536 adjusted to 131072
ERROR: 1062 Duplicate entry 'localhost-' for key 'PRIMARY'
080901 0:50:01 [ERROR] Aborting

080901 0:50:01 [Note] /usr/local/mysql/libexec/mysqld: Shutdown complete


Installation of system tables failed! Examine the logs in
/usr/local/mysql/var for more information.
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: 7.10.2025 - 11:58