[root@serwer zonx]# pacman -S mysql
Cele: mysql-5.0.41-1nnd
Całkowita wielkość pakietu: 12,0 MB
Rozpocząć aktualizację? [T/n] t
:: Pobieram pakiety z testing...
mysql-5.0.41-1nnd [############################################################################################] 100% 12262K 3515K/s 00:00:03
sprawdzam integralności pakietów... zrobione.
ładuję dane o pakiecie... zrobione.
sprawdzam możliwość konfliktów... zrobione.
instaluję mysql... zrobione.
==>
==> Mysql został zainstalowany i jest gotowy do użycia!
==>
==> Wpisz teraz /etc/rc.d/mysqld start i zgodnie z instrukcją dodaj
==> użytkowników mysqla.
==>
==> Aby używać mysqla w php odkomentuj linię ładującą moduł mysql na końcu
==> pliku konfiguracyjnego php (/etc/php.ini dla php 4.x oraz
==> /usr/local/php5/php.ini dla php 5.x)
==>
==> Aby móc łączyć się do mysqla zdalnie dopisz do /etc/hosts.allow wpis
==> mysqld: ALL
==>
[root@serwer zonx]# /etc/rc.d/mysqld start
Installing MySQL system tables...
ERROR: 1 Can't create/write to file '/var/lib/mysql/mysql/db.MYI' (Errcode: 13)
080725 10:16:02 [ERROR] Aborting
080725 10:16:02 [Note] /usr/sbin/mysqld: Shutdown complete
/usr/bin/mysql_install_db: line 279: 15680 Przerwany potok cat $create_system_tables $fill_system_tables
Installation of system tables failed!
Examine the logs in /var/lib/mysql for more information.
You can try to start the mysqld daemon with:
/usr/sbin/mysqld --skip-grant &
and use the command line tool
/usr/bin/mysql to connect to the mysql
database and look at the grant tables:
shell> /usr/bin/mysql -u root mysql
mysql> show tables
Try 'mysqld --help' if you have problems with paths. Using --log
gives you a log in /var/lib/mysql that may be helpful.
The latest information about MySQL is available on the web at
http://www.mysql.comPlease consult the MySQL manual section: 'Problems running mysql_install_db',
and the manual section that describes problems on your OS.
Another information source is the MySQL email archive.
Please check all of the above before mailing us!
And if you do mail us, you MUST use the /usr/bin/mysqlbug script!
NND: Uruchamiam MySQL [Wykonane]