nPaBegHuK
Newbie | Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору AnDySs1 Цитата: что говорит /var/log/mysqld.log | 091213 20:24:17 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql 091213 20:24:17 [ERROR] Error message file '/usr/share/mysql/english/errmsg.sys' had only 480 error messages, but it should contain at least 641 error messages. Check that the above file is the right version for this program! 091213 20:24:17 [Note] Plugin 'ndbcluster' is disabled. /usr/libexec/mysqld: Unknown error 1146 091213 20:24:17 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it. 091213 20:24:18 InnoDB: Started; log sequence number 0 44233 091213 20:24:18 [ERROR] Aborting 091213 20:24:18 InnoDB: Starting shutdown... 091213 20:24:19 InnoDB: Shutdown completed; log sequence number 0 44233 091213 20:24:19 [Note] 091213 20:24:19 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended =) Цифру 13 не вижу) vlader2004 Цитата: А конфигурировать? mysql_install_db | [root@localhost /]# mysql_install_db Installing MySQL system tables... 091213 20:18:42 [ERROR] Error message file '/usr/share/mysql/english/errmsg.sys' had only 480 error messages, but it should contain at least 641 error messages. Check that the above file is the right version for this program! 091213 20:18:42 [ERROR] Aborting 091213 20:18:42 [Note] 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/libexec/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.com/. 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! Цитата: (или mysql_secure_installation) запускал? | [root@localhost /]# mysql_secure_installation NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MySQL SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY! In order to log into MySQL to secure it, we'll need the current password for the root user. If you've just installed MySQL, and you haven't set the root password yet, the password will be blank, so you should just press enter here. Enter current password for root (enter for none): ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) Enter current password for root (enter for none): | Всего записей: 5 | Зарегистр. 13-10-2009 | Отправлено: 23:10 13-12-2009 | Исправлено: nPaBegHuK, 23:11 13-12-2009 |
|