mysql --version
i pisalo je da je verzija 5.5.5m3.
E sada kada sam hteo da se ulogujem kucao sam:
mysql -u root -p
nakon toga sam bio upitan za šifru i pošto nisam postavljao šifru pritisnuo sam enter i dobio sam poruku o grešci:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
E sada čitao sam u dokumentaciji da posle instalacije treba da se pokrene skripta mysql_install_db koja podešava privilegije ali nisam siguran da li je to odrađeno prilikom pokretanja onih .rpm fajlova ili treba ručno da odradim.
Ja sam probao ručno da odradim i dobijam neku poruku o grešci:
Installing MySQL system tables...
100824 20:43:46 [Note] Buffered information: Performance schema disabled (reason: start parameters).
100824 20:43:46 [ERROR] Incorrect definition of table mysql.proc: expected column 'returns' at position 9 to have type longblob, found type char(64).
ERROR: 1136 Column count doesn't match value count at row 1
100824 20:43:47 [ERROR] Aborting
100824 20:43:47 [Note] /usr/sbin/mysqld: Shutdown complete
Installation of system tables failed! Examine the logs in
/var/lib/mysql for more information.
You can try to start the mysqld daemon with:
shell> /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.
Please consult the MySQL manual section
'Problems running mysql_install_db', and the manual section that
describes problems on your OS. Another information source are the
MySQL email archives available at http://lists.mysql.com/.
Please check all of the above before mailing us! And remember, if
you do mail us, you MUST use the /usr/bin/mysqlbug script!