[root@router_nnd pasztet]# pacman -S mysql
:: mysql-4.0.20-2nnd: jest aktualna. Zaktualizować? [T/n] t
Cele: mysql-4.0.20-2nnd
Całkowita wielkość pakietu: 3,2 MB
Rozpocząć aktualizację? [T/n] t
sprawdzam integralności pakietów... zrobione.
ładuję dane o pakiecie...zrobione.
sprawdzam możliwość konfliktów... zrobione.
aktualizuję mysql...zrobione.
[root@router_nnd pasztet]# /etc/rc.d/mysqld start
Preparing db table
Preparing host table
Preparing user table
Preparing func table
Preparing tables_priv table
Preparing columns_priv table
Installing all prepared tables
060913 13:56:04 /usr/sbin/mysqld: Shutdown Complete
To start mysqld at boot time you have to copy support-files/mysql.server
to the right place for your system
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 router_nnd password 'new-password'
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 the benchmarks in the 'sql-bench' directory:
cd sql-bench ; perl run-all-tests
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
https://order.mysql.com
NND: Starting MySQL [Wykonane]
[root@router_nnd pasztet]# /usr/bin/mysqladmin -u root password '1234'
[root@router_nnd pasztet]# /usr/bin/mysqladmin -u root -h nnd_router password '1234'
/usr/bin/mysqladmin: connect to server at 'nnd_router' failed
error: 'Unknown MySQL Server Host 'nnd_router' (1)'
Check that mysqld is running on nnd_router and that the port is 3306.
You can check this by doing 'telnet nnd_router 3306'
[root@router_nnd pasztet]#
Co robie źle bo juz 10tki razy odinstalowywałem i instalowałem od nowa i zawsze to samo:((