openSuSE
Username:
Password:
Linki sponsorowane: | inwestycje | erasmus in warsaw
Strony: [1]
  Drukuj  
Autor Wątek: Instalacja mysql  (Przeczytany 8669 razy)
0 użytkowników i 1 Gość przegląda ten wątek.
noy
*
Offline Offline

Wiadomości: 9


« : Luty 12, 2009, 18:06:58 »

Wykonuje
Kod:
/usr/bin/mysql_install_db

Otrzymuje w wyniku

Kod:
hostname: Nieznany host                                     
WARNING: The host '' could not be looked up with resolveip.
This probably means that your libc libraries are not 100 % compatible
with this binary MySQL version. The MySQL daemon, mysqld, should work
normally with the exception that host name resolving will not work. 
This means that you should use IP addresses instead of hostnames     
when specifying MySQL privileges !                                   
Installing MySQL system tables...                                   
OK                                                                   
Filling help tables...                                               
OK                                                                   
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !         
To do so, start the server, then issue the following commands:       
/usr/bin/mysqladmin -u root password 'new-password'                 
/usr/bin/mysqladmin -u root -h  password 'new-password'             

Alternatively you can run:
/usr/bin/mysql_secure_installation

which will also give you the option of removing the test
databases and anonymous user created by default.  This is
strongly recommended for production servers.             

See the manual for more instructions.

You can start the MySQL daemon with:
cd /usr ; /usr/bin/mysqld_safe &   

You can test the MySQL daemon with mysql-test-run.pl
cd mysql-test ; perl mysql-test-run.pl             

Please report any problems with the /usr/bin/mysqlbug script!

The latest information about MySQL is available on the web at
http://www.mysql.com                                         
Support MySQL by buying support/licenses at http://shop.mysql.com

Czyli, że nie może znaleźć hosta

Jak wpisze
Kod:
/usr/bin/mysqladmin -u root password 'new-password' 

Otrzymuję
Kod:
/usr/bin/mysqladmin: connect to server at 'localhost' failed       
error: 'Access denied for user 'root'@'localhost' (using password: NO)'


Gady daję
Kod:
/usr/bin/mysql_secure_installation

Zaczyna się coś tam robić, ale gdy pyta mnie o hasło do roota, to:

Kod:
Enter current password for root (enter for none):
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)

Wie, ktoś jak go zainstalować?
Zapisane
amaroKer
Super Moderator
*
Offline Offline

Płeć: Mężczyzna
Wiadomości: 395



« Odpowiedz #1 : Luty 13, 2009, 00:36:59 »

polecam konfiguracje mysql przez webmina
Kod:
http://prdownloads.sourceforge.net/webadmin/webmin-1.450-1.noarch.rpm
Zapisane
noy
*
Offline Offline

Wiadomości: 9


« Odpowiedz #2 : Luty 14, 2009, 10:09:13 »

A ja uruchomić tego webmina? bo jakoś mi nie wychodzi...
Zapisane
SiBUL
Admin
*
Offline Offline

Płeć: Mężczyzna
Wiadomości: 211


Forumowy egzorcysta


« Odpowiedz #3 : Luty 14, 2009, 22:35:37 »

No to czytaj dokładnie pliki readme, na porcie 10000 jest webmin o ile pamiętam 127.0.0.1:10000
Pamiętaj zeby wpisac https:// bo webmin wymusza SSL. I jak pokaze Ci się Error - Bad Request to wpisz własnie https://localhost:10000 i zaakceptuj certyfikat bezpieczeństwa.
A co do tej instalacji to co Ty chcesz dokładnie zdziałac. Bo masz YaST2 tam wpisujesz w zarządzaniu oprogramowaniem mysql-server i zaznaczasz do instalacji, nie pamietam jak to jest na suse ale najprawdopodobniej w konsoli z roota zypper install mysql-server no i podczas instalacji podajesz hasło roota, kolejnie doinstaluj sobie phpMyAdmina i tam zarządzaj użytkownikami i bazami danych.
« Ostatnia zmiana: Luty 14, 2009, 22:37:11 wysłane przez SiBUL » Zapisane
Strony: [1]
  Drukuj  
 
Skocz do:  

erasmus - serwis komputerowy lubin - projektowanie stron lubin - cuprum lubin - projektowanie stron - zaproszenia lockerz - notatki studenckie
Template modified by designworld.pl