Форум программистов, компьютерный форум, киберфорум
MySQL
Войти
Регистрация
Восстановить пароль
Блоги Сообщество Поиск Заказать работу  
 
Рейтинг 4.89/9: Рейтинг темы: голосов - 9, средняя оценка - 4.89
0 / 0 / 0
Регистрация: 05.12.2010
Сообщений: 64

Innodb MySQL 5.1

03.04.2014, 16:41. Показов 1886. Ответов 13
Метки нет (Все метки)

Студворк — интернет-сервис помощи студентам
Добрый день, подскажите пожалуйста, как можно подключить Innodb на mysql 5.1 ?
Утром мой сайт работал, но кто то поковырялся на нем видимо и теперь выдается ошибка:
Ошибка: Unknown table engine 'InnoDB'

Конфиг приложения:

Code
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
[mysqld]
#
# * Basic Settings
#
user            = mysql
pid-file        = /var/run/mysqld/mysqld.pid
socket          = /var/run/mysqld/mysqld.sock
port            = 3306
basedir         = /usr
datadir         = /var/lib/mysql
tmpdir          = /tmp
language        = /usr/share/mysql/english
skip-external-locking
#
# Instead of skip-networking the default is now to listen only on
# localhost which is more compatible and is not less secure.
bind-address            = 127.0.0.1
#
# * Fine Tuning
 
ignore-builtin-innodb
plugin-load=innodb=ha_innodb_plugin.so
 
 
#
key_buffer              = 16M
max_allowed_packet      = 16M
thread_stack            = 192K
thread_cache_size       = 8
# This replaces the startup script and checks MyISAM tables if needed
# the first time they are touched
myisam-recover         = BACKUP
#max_connections        = 100
#table_cache            = 64
#thread_concurrency     = 10
#
# * Query Cache Configuration
#
query_cache_limit       = 1M
query_cache_size        = 16M
#
# * Logging and Replication
#
# Both location gets rotated by the cronjob.
# Be aware that this log type is a performance killer.
# As of 5.1 you can enable the log at runtime!
#general_log_file        = /var/log/mysql/mysql.log
#general_log             = 1
#
# Error logging goes to syslog due to /etc/mysql/conf.d/mysqld_safe_syslog.cnf.
#
# Here you can see queries with especially long duration
#log_slow_queries       = /var/log/mysql/mysql-slow.log
#long_query_time = 2
#log-queries-not-using-indexes
#
# The following can be used as easy to replay backup logs or for replication.
# note: if you are setting up a replication slave, see README.Debian about
#       other settings you may need to change.
#server-id              = 1
#log_bin                        = /var/log/mysql/mysql-bin.log
expire_logs_days        = 10
max_binlog_size         = 100M
#binlog_do_db           = include_database_name
#binlog_ignore_db       = include_database_name
#
# * InnoDB
#
# InnoDB is enabled by default with a 10MB datafile in /var/lib/mysql/.
# Read the manual for more InnoDB related options. There are many!
# Uncomment the following if you are using InnoDB tables
innodb = OFF
#innodb_data_home_dir = /var/db/mysql
#innodb_data_file_path = ibdata1:10M:autoextend
#innodb_log_group_home_dir = /var/db/mysql
#innodb_log_arch_dir = /var/db/mysql
# You can set .._buffer_pool_size up to 50 - 80 %
# of RAM but beware of setting memory usage too high
#innodb_buffer_pool_size = 256M
#innodb_additional_mem_pool_size = 20M
# Set .._log_file_size to 25 % of buffer pool size
#innodb_log_file_size = 64M
#innodb_log_buffer_size = 8M
#innodb_flush_log_at_trx_commit = 1
#innodb_lock_wait_timeout = 50
#
# * Security Features
#innodb_data_file_path=ibdata:30M
#
# Read the manual, too, if you want chroot!
# chroot = /var/lib/mysql/
#
# For generating SSL certificates I recommend the OpenSSL GUI "tinyca".
#
# ssl-ca=/etc/mysql/cacert.pem
# ssl-cert=/etc/mysql/server-cert.pem
# ssl-key=/etc/mysql/server-key.pem
#skip-innodb
Рестартует нормально, только пишет:
Code
1
2
3
Stopping MySQL database server: mysqld.
Starting MySQL database server: mysqld.
Checking for corrupt, not cleanly closed and upgrade needing tables..
вводил команду: mysqlcheck --check-upgrade --all-databases --auto-repair -u root -p
в результате:

Не по теме:

Error : Unknown table engine 'InnoDB'
error : Corrupt
wybor.cms3_search_index
Error : Unknown table engine 'InnoDB'
error : Corrupt
wybor.cms3_search_index_words
Error : Unknown table engine 'InnoDB'
error : Corrupt
wybor.cms3_templates
Error : Unknown table engine 'InnoDB'
error : Corrupt
wybor.cms_backup
Error : Unknown table engine 'InnoDB'
error : Corrupt
wybor.cms_permissions
Error : Unknown table engine 'InnoDB'
error : Corrupt
wybor.cms_reg
Error : Unknown table engine 'InnoDB'
error : Corrupt
wybor.questions
Error : Unknown table engine 'InnoDB'
error : Corrupt



В общем, не могу разобраться в чем ситуация, а переустановить mysql не могу, так как из-за этой ошибки дамп баз не делается.

Добавлено через 15 минут
Забыл написать. На сайте можно посмотреть отладочную информацию. Так она выглядит:
Code
1
2
3
4
5
#0 /var/www/srvsoft/data/www/sonlandia.ru/classes/hierarchyModel/langsCollection.php(14): langsCollection->loadLangs()
#1 /var/www/srvsoft/data/www/sonlandia.ru/classes/patterns/singletone.php(21): langsCollection->__construct()
#2 /var/www/srvsoft/data/www/sonlandia.ru/classes/hierarchyModel/langsCollection.php(22): singleton::getInstance('langsCollection')
#3 /var/www/srvsoft/data/www/sonlandia.ru/index.php(107): langsCollection::getInstance()
#4 {main}
0
cpp_developer
Эксперт
20123 / 5690 / 1417
Регистрация: 09.04.2010
Сообщений: 22,546
Блог
03.04.2014, 16:41
Ответы с готовыми решениями:

InnoDB: Error: MySQL is trying to perform a consistent read
Здравствуйте со вчерашнего дня начались проблемы с базой постоянно вылетает ошибка... подскажите вчем может быть дело система...

InnoDB vs MyISAM
Всем привет, форумчане. Вопрос к гуру мускула. Есть ли у кого-нибудь реальный опыт работы с озвученными типами таблиц? Что лучше?...

mysam и innodb
на сколько я понимаю mysam используют для динамических таблиц там где много записей и перезаписей происходит а innodb для статических где...

13
Native x86
Эксперт Hardware
 Аватар для quwy
6858 / 3791 / 1025
Регистрация: 13.02.2013
Сообщений: 11,861
03.04.2014, 16:47
А это зачем?
Цитата Сообщение от Влад000 Посмотреть сообщение
innodb = OFF
0
0 / 0 / 0
Регистрация: 05.12.2010
Сообщений: 64
03.04.2014, 17:58  [ТС]
Сейчас стоит ON - без изменений.
0
Native x86
Эксперт Hardware
 Аватар для quwy
6858 / 3791 / 1025
Регистрация: 13.02.2013
Сообщений: 11,861
03.04.2014, 18:04
У вас там много интересного, это например:
Цитата Сообщение от Влад000 Посмотреть сообщение
ignore-builtin-innodb
plugin-load=innodb=ha_innodb_plugin.so
Что говорит команда
Bash
1
cat /var/log/syslog | grep mysql
?
0
0 / 0 / 0
Регистрация: 05.12.2010
Сообщений: 64
03.04.2014, 20:01  [ТС]
Я наподключал пока эксперементировал. Но если их убирать, ничего не менялось
Вот что команда вывела:

Code
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
Apr  3 15:40:44 srvsoft mysqld: 140403 15:40:44 [Note] /usr/sbin/mysqld: ready f                                                                                        or connections.
Apr  3 15:40:44 srvsoft mysqld: Version: '5.1.49-3'  socket: '/var/run/mysqld/my                                                                                        sqld.sock'  port: 3306  (Debian)
Apr  3 15:40:45 srvsoft /etc/mysql/debian-start[40681]: Upgrading MySQL tables i                                                                                        f necessary.
Apr  3 15:40:45 srvsoft /etc/mysql/debian-start[40684]: /usr/bin/mysql_upgrade:                                                                                         the '--basedir' option is always ignored
Apr  3 15:40:45 srvsoft /etc/mysql/debian-start[40684]: Looking for 'mysql' as:                                                                                         /usr/bin/mysql
Apr  3 15:40:45 srvsoft /etc/mysql/debian-start[40684]: Looking for 'mysqlcheck'                                                                                         as: /usr/bin/mysqlcheck
Apr  3 15:40:45 srvsoft /etc/mysql/debian-start[40684]: This installation of MyS                                                                                        QL is already upgraded to 5.1.49, use --force if you still need to run mysql_upg                                                                                        rade
Apr  3 15:40:45 srvsoft /etc/mysql/debian-start[40691]: Checking for insecure ro                                                                                        ot accounts.
Apr  3 15:40:45 srvsoft /etc/mysql/debian-start[40695]: Triggering myisam-recove                                                                                        r for all MyISAM tables
Apr  3 15:49:10 srvsoft mysqld: 140403 15:49:10 [Note] /usr/sbin/mysqld: Normal                                                                                         shutdown
Apr  3 15:49:10 srvsoft mysqld:
Apr  3 15:49:10 srvsoft mysqld: 140403 15:49:10 [Note] Event Scheduler: Purging                                                                                         the queue. 0 events
Apr  3 15:49:10 srvsoft mysqld: 140403 15:49:10 [Note] /usr/sbin/mysqld: Shutdow                                                                                        n complete
Apr  3 15:49:10 srvsoft mysqld:
Apr  3 15:49:10 srvsoft mysqld_safe: mysqld from pid file /var/run/mysqld/mysqld                                                                                        .pid ended
Apr  3 15:49:11 srvsoft mysqld_safe: Starting mysqld daemon with databases from                                                                                         /var/lib/mysql
Apr  3 15:49:11 srvsoft mysqld: 140403 15:49:11 [Note] Plugin 'FEDERATED' is dis                                                                                        abled.
Apr  3 15:49:11 srvsoft mysqld: 140403 15:49:11 [Note] Plugin 'InnoDB' is disabl                                                                                        ed.
Apr  3 15:49:11 srvsoft mysqld: 140403 15:49:11 [ERROR] /usr/sbin/mysqld: unknow                                                                                        n variable 'innidb_force_recovery=6'
Apr  3 15:49:11 srvsoft mysqld: 140403 15:49:11 [ERROR] Aborting
Apr  3 15:49:11 srvsoft mysqld:
Apr  3 15:49:11 srvsoft mysqld: 140403 15:49:11 [Note] /usr/sbin/mysqld: Shutdow                                                                                        n complete
Apr  3 15:49:11 srvsoft mysqld:
Apr  3 15:49:11 srvsoft mysqld_safe: mysqld from pid file /var/run/mysqld/mysqld                                                                                        .pid ended
Apr  3 15:49:26 srvsoft /etc/init.d/mysql[46438]: 0 processes alive and '/usr/bi                                                                                        n/mysqladmin --defaults-file=/etc/mysql/debian.cnf ping' resulted in
Apr  3 15:49:26 srvsoft /etc/init.d/mysql[46438]: #007/usr/bin/mysqladmin: conne                                                                                        ct to server at 'localhost' failed
Apr  3 15:49:26 srvsoft /etc/init.d/mysql[46438]: error: 'Can't connect to local                                                                                         MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'
Apr  3 15:49:26 srvsoft /etc/init.d/mysql[46438]: Check that mysqld is running a                                                                                        nd that the socket: '/var/run/mysqld/mysqld.sock' exists!
Apr  3 15:49:26 srvsoft /etc/init.d/mysql[46438]:
Apr  3 15:50:23 srvsoft mysqld_safe: Starting mysqld daemon with databases from                                                                                         /var/lib/mysql
Apr  3 15:50:23 srvsoft mysqld: 140403 15:50:23 [Note] Plugin 'FEDERATED' is dis                                                                                        abled.
Apr  3 15:50:23 srvsoft mysqld: InnoDB: The InnoDB memory heap is disabled
Apr  3 15:50:23 srvsoft mysqld: InnoDB: Mutexes and rw_locks use GCC atomic buil                                                                                        tins
Apr  3 15:50:23 srvsoft mysqld: InnoDB: Compressed tables use zlib 1.2.3.4
Apr  3 15:50:23 srvsoft mysqld: #007/usr/sbin/mysqld: Can't create/write to file                                                                                         '/tmp/ibdy7n8Q' (Errcode: 13)
Apr  3 15:50:23 srvsoft mysqld: 140403 15:50:23  InnoDB: Error: unable to create                                                                                         temporary file; errno: 13
Apr  3 15:50:23 srvsoft mysqld: 140403 15:50:23 [ERROR] Plugin 'InnoDB' init fun                                                                                        ction returned error.
Apr  3 15:50:23 srvsoft mysqld: 140403 15:50:23 [ERROR] Plugin 'InnoDB' registra                                                                                        tion as a STORAGE ENGINE failed.
Apr  3 15:50:23 srvsoft mysqld: 140403 15:50:23 [ERROR] /usr/sbin/mysqld: unknow                                                                                        n variable 'innidb_force_recovery=6'
Apr  3 15:50:23 srvsoft mysqld: 140403 15:50:23 [ERROR] Aborting
Apr  3 15:50:23 srvsoft mysqld:
Apr  3 15:50:23 srvsoft mysqld: 140403 15:50:23 [Note] /usr/sbin/mysqld: Shutdow                                                                                        n complete
Apr  3 15:50:23 srvsoft mysqld:
Apr  3 15:50:23 srvsoft mysqld_safe: mysqld from pid file /var/run/mysqld/mysqld                                                                                        .pid ended
Apr  3 15:50:37 srvsoft /etc/init.d/mysql[46810]: 0 processes alive and '/usr/bi                                                                                        n/mysqladmin --defaults-file=/etc/mysql/debian.cnf ping' resulted in
Apr  3 15:50:37 srvsoft /etc/init.d/mysql[46810]: #007/usr/bin/mysqladmin: conne                                                                                        ct to server at 'localhost' failed
Apr  3 15:50:37 srvsoft /etc/init.d/mysql[46810]: error: 'Can't connect to local                                                                                         MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'
Apr  3 15:50:37 srvsoft /etc/init.d/mysql[46810]: Check that mysqld is running a                                                                                        nd that the socket: '/var/run/mysqld/mysqld.sock' exists!
Apr  3 15:50:37 srvsoft /etc/init.d/mysql[46810]:
Apr  3 15:51:24 srvsoft mysqld_safe: Starting mysqld daemon with databases from                                                                                         /var/lib/mysql
Apr  3 15:51:24 srvsoft mysqld: 140403 15:51:24 [Note] Plugin 'FEDERATED' is dis                                                                                        abled.
Apr  3 15:51:24 srvsoft mysqld: #007/usr/sbin/mysqld: Can't create/write to file                                                                                         '/tmp/ibjVf3KH' (Errcode: 13)
Apr  3 15:51:24 srvsoft mysqld: 140403 15:51:24  InnoDB: Error: unable to create                                                                                         temporary file; errno: 13
Apr  3 15:51:24 srvsoft mysqld: 140403 15:51:24 [ERROR] Plugin 'InnoDB' init fun                                                                                        ction returned error.
Apr  3 15:51:24 srvsoft mysqld: 140403 15:51:24 [ERROR] Plugin 'InnoDB' registra                                                                                        tion as a STORAGE ENGINE failed.
Apr  3 15:51:24 srvsoft mysqld: 140403 15:51:24 [ERROR] /usr/sbin/mysqld: unknow                                                                                        n variable 'innidb_force_recovery=6'
Apr  3 15:51:24 srvsoft mysqld: 140403 15:51:24 [ERROR] Aborting
Apr  3 15:51:24 srvsoft mysqld:
Apr  3 15:51:24 srvsoft mysqld: 140403 15:51:24 [Note] /usr/sbin/mysqld: Shutdow                                                                                        n complete
Apr  3 15:51:24 srvsoft mysqld:
Apr  3 15:51:24 srvsoft mysqld_safe: mysqld from pid file /var/run/mysqld/mysqld                                                                                        .pid ended
Apr  3 15:51:39 srvsoft /etc/init.d/mysql[47155]: 0 processes alive and '/usr/bi                                                                                        n/mysqladmin --defaults-file=/etc/mysql/debian.cnf ping' resulted in
Apr  3 15:51:39 srvsoft /etc/init.d/mysql[47155]: #007/usr/bin/mysqladmin: conne                                                                                        ct to server at 'localhost' failed
Apr  3 15:51:39 srvsoft /etc/init.d/mysql[47155]: error: 'Can't connect to local                                                                                         MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'
Apr  3 15:51:39 srvsoft /etc/init.d/mysql[47155]: Check that mysqld is running a                                                                                        nd that the socket: '/var/run/mysqld/mysqld.sock' exists!
Apr  3 15:51:39 srvsoft /etc/init.d/mysql[47155]:
Apr  3 15:57:51 srvsoft mysqld_safe: Starting mysqld daemon with databases from                                                                                         /var/lib/mysql
Apr  3 15:57:51 srvsoft mysqld: 140403 15:57:51 [Note] Plugin 'FEDERATED' is dis                                                                                        abled.
Apr  3 15:57:51 srvsoft mysqld: #007/usr/sbin/mysqld: Can't create/write to file                                                                                         '/tmp/ib2L2Hvp' (Errcode: 13)
Apr  3 15:57:51 srvsoft mysqld: 140403 15:57:51  InnoDB: Error: unable to create                                                                                         temporary file; errno: 13
Apr  3 15:57:51 srvsoft mysqld: 140403 15:57:51 [ERROR] Plugin 'InnoDB' init fun                                                                                        ction returned error.
Apr  3 15:57:51 srvsoft mysqld: 140403 15:57:51 [ERROR] Plugin 'InnoDB' registra                                                                                        tion as a STORAGE ENGINE failed.
Apr  3 15:57:51 srvsoft mysqld: 140403 15:57:51 [ERROR] /usr/sbin/mysqld: unknow                                                                                        n variable 'innidb_force_recovery=6'
Apr  3 15:57:51 srvsoft mysqld: 140403 15:57:51 [ERROR] Aborting
Apr  3 15:57:51 srvsoft mysqld:
Apr  3 15:57:51 srvsoft mysqld: 140403 15:57:51 [Note] /usr/sbin/mysqld: Shutdow                                                                                        n complete
Apr  3 15:57:51 srvsoft mysqld:
Apr  3 15:57:51 srvsoft mysqld_safe: mysqld from pid file /var/run/mysqld/mysqld                                                                                        .pid ended
Apr  3 15:58:06 srvsoft /etc/init.d/mysql[47548]: 0 processes alive and '/usr/bi                                                                                        n/mysqladmin --defaults-file=/etc/mysql/debian.cnf ping' resulted in
Apr  3 15:58:06 srvsoft /etc/init.d/mysql[47548]: #007/usr/bin/mysqladmin: conne                                                                                        ct to server at 'localhost' failed
Apr  3 15:58:06 srvsoft /etc/init.d/mysql[47548]: error: 'Can't connect to local                                                                                         MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'
Apr  3 15:58:06 srvsoft /etc/init.d/mysql[47548]: Check that mysqld is running a                                                                                        nd that the socket: '/var/run/mysqld/mysqld.sock' exists!
Apr  3 15:58:06 srvsoft /etc/init.d/mysql[47548]:
Apr  3 15:58:31 srvsoft mysqld_safe: Starting mysqld daemon with databases from                                                                                         /var/lib/mysql
Apr  3 15:58:31 srvsoft mysqld: 140403 15:58:31 [Note] Plugin 'FEDERATED' is dis                                                                                        abled.
Apr  3 15:58:31 srvsoft mysqld: #007/usr/sbin/mysqld: Can't create/write to file                                                                                         '/tmp/ibES88QK' (Errcode: 13)
Apr  3 15:58:31 srvsoft mysqld: 140403 15:58:31  InnoDB: Error: unable to create                                                                                         temporary file; errno: 13
Apr  3 15:58:31 srvsoft mysqld: 140403 15:58:31 [ERROR] Plugin 'InnoDB' init fun                                                                                        ction returned error.
Apr  3 15:58:31 srvsoft mysqld: 140403 15:58:31 [ERROR] Plugin 'InnoDB' registra                                                                                        tion as a STORAGE ENGINE failed.
Apr  3 15:58:31 srvsoft mysqld: 140403 15:58:31 [Note] Event Scheduler: Loaded 0                                                                                         events
Apr  3 15:58:31 srvsoft mysqld: 140403 15:58:31 [Note] /usr/sbin/mysqld: ready f                                                                                        or connections.
Apr  3 15:58:31 srvsoft mysqld: Version: '5.1.49-3'  socket: '/var/run/mysqld/my                                                                                        sqld.sock'  port: 3306  (Debian)
Apr  3 15:58:32 srvsoft /etc/mysql/debian-start[47764]: Upgrading MySQL tables i                                                                                        f necessary.
Apr  3 15:58:32 srvsoft /etc/mysql/debian-start[47767]: /usr/bin/mysql_upgrade:                                                                                         the '--basedir' option is always ignored
Apr  3 15:58:32 srvsoft /etc/mysql/debian-start[47767]: Looking for 'mysql' as:                                                                                         /usr/bin/mysql
Apr  3 15:58:32 srvsoft /etc/mysql/debian-start[47767]: Looking for 'mysqlcheck'                                                                                         as: /usr/bin/mysqlcheck
Apr  3 15:58:32 srvsoft /etc/mysql/debian-start[47767]: This installation of MyS                                                                                        QL is already upgraded to 5.1.49, use --force if you still need to run mysql_upg                                                                                        rade
Apr  3 15:58:32 srvsoft /etc/mysql/debian-start[47774]: Checking for insecure ro                                                                                        ot accounts.
Apr  3 15:58:32 srvsoft /etc/mysql/debian-start[47778]: Triggering myisam-recove                                                                                        r for all MyISAM tables
Apr  3 16:58:57 srvsoft mysqld: 140403 16:58:57 [Note] /usr/sbin/mysqld: Normal                                                                                         shutdown
Apr  3 16:58:57 srvsoft mysqld:
Apr  3 16:58:57 srvsoft mysqld: 140403 16:58:57 [Note] Event Scheduler: Purging                                                                                         the queue. 0 events
Apr  3 16:58:57 srvsoft mysqld: 140403 16:58:57 [Note] /usr/sbin/mysqld: Shutdow                                                                                        n complete
Apr  3 16:58:57 srvsoft mysqld:
Apr  3 16:58:57 srvsoft mysqld_safe: mysqld from pid file /var/run/mysqld/mysqld                                                                                        .pid ended
Apr  3 16:58:58 srvsoft mysqld_safe: Starting mysqld daemon with databases from                                                                                         /var/lib/mysql
Apr  3 16:58:58 srvsoft mysqld: 140403 16:58:58 [Note] Plugin 'FEDERATED' is dis                                                                                        abled.
Apr  3 16:58:58 srvsoft mysqld: #007/usr/sbin/mysqld: Can't create/write to file                                                                                         '/tmp/ibaQVoE1' (Errcode: 13)
Apr  3 16:58:58 srvsoft mysqld: 140403 16:58:58  InnoDB: Error: unable to create                                                                                         temporary file; errno: 13
Apr  3 16:58:58 srvsoft mysqld: 140403 16:58:58 [ERROR] Plugin 'InnoDB' init fun                                                                                        ction returned error.
Apr  3 16:58:58 srvsoft mysqld: 140403 16:58:58 [ERROR] Plugin 'InnoDB' registra                                                                                        tion as a STORAGE ENGINE failed.
Apr  3 16:58:58 srvsoft mysqld: 140403 16:58:58 [Note] Event Scheduler: Loaded 0                                                                                         events
Apr  3 16:58:58 srvsoft mysqld: 140403 16:58:58 [Note] /usr/sbin/mysqld: ready f                                                                                        or connections.
Apr  3 16:58:58 srvsoft mysqld: Version: '5.1.49-3'  socket: '/var/run/mysqld/my                                                                                        sqld.sock'  port: 3306  (Debian)
Apr  3 16:58:59 srvsoft /etc/mysql/debian-start[56176]: Upgrading MySQL tables i                                                                                        f necessary.
Apr  3 16:58:59 srvsoft /etc/mysql/debian-start[56179]: /usr/bin/mysql_upgrade:                                                                                         the '--basedir' option is always ignored
Apr  3 16:58:59 srvsoft /etc/mysql/debian-start[56179]: Looking for 'mysql' as:                                                                                         /usr/bin/mysql
Apr  3 16:58:59 srvsoft /etc/mysql/debian-start[56179]: Looking for 'mysqlcheck'                                                                                         as: /usr/bin/mysqlcheck
Apr  3 16:58:59 srvsoft /etc/mysql/debian-start[56179]: This installation of MyS                                                                                        QL is already upgraded to 5.1.49, use --force if you still need to run mysql_upg                                                                                        rade
Apr  3 16:58:59 srvsoft /etc/mysql/debian-start[56186]: Checking for insecure ro                                                                                        ot accounts.
Apr  3 16:58:59 srvsoft /etc/mysql/debian-start[56190]: Triggering myisam-recove                                                                                        r for all MyISAM tables
0
Native x86
Эксперт Hardware
 Аватар для quwy
6858 / 3791 / 1025
Регистрация: 13.02.2013
Сообщений: 11,861
03.04.2014, 21:49
chmod 777 -R /tmp
0
0 / 0 / 0
Регистрация: 05.12.2010
Сообщений: 64
03.04.2014, 22:01  [ТС]
в первую очередь сделал
0
Native x86
Эксперт Hardware
 Аватар для quwy
6858 / 3791 / 1025
Регистрация: 13.02.2013
Сообщений: 11,861
04.04.2014, 12:35
Ну так не бывает. Код 13 -- это запрет доступа. Какие сейчас права на /tmp? Кто владелец? Удается ли создать там файл руками?
0
0 / 0 / 0
Регистрация: 05.12.2010
Сообщений: 64
04.04.2014, 13:10  [ТС]
777 -R и владелец mysql

Добавлено через 29 секунд
и да, можно создавать файлы руками
0
Native x86
Эксперт Hardware
 Аватар для quwy
6858 / 3791 / 1025
Регистрация: 13.02.2013
Сообщений: 11,861
04.04.2014, 13:13
Владельцем должен быть root, хотя это, конечно, в данном случае не важно. Пробовали удалить конфиг и сделать апгрейд до последней версии? Может там какая-то кастомная сборка со странностями?
0
0 / 0 / 0
Регистрация: 05.12.2010
Сообщений: 64
04.04.2014, 15:13  [ТС]
Апгрейд делать слишком опасно. Там баз 50 для различных сайтов важных.
Владельцем и рута пробовал ставить.
0
Эксперт по компьютерным сетямЭксперт NIX
 Аватар для Dmitry
13440 / 7534 / 830
Регистрация: 09.09.2009
Сообщений: 29,554
04.04.2014, 15:19
а место есть?

Не по теме:

просто как-то было дело, включал в самом линуксе логирование избыточное, и раздел был один единственный, вот лог все место на диске и сожрал...

0
Native x86
Эксперт Hardware
 Аватар для quwy
6858 / 3791 / 1025
Регистрация: 13.02.2013
Сообщений: 11,861
04.04.2014, 15:46
Dmitry, там код 13, вряд ли место.
0
0 / 0 / 0
Регистрация: 05.12.2010
Сообщений: 64
06.04.2014, 22:54  [ТС]
Место есть...

Добавлено через 8 часов 44 минуты
Всем спасибо. Структура баз убита каким то неведомым образом, так что теперь только ручками восстанавливать.
0
Надоела реклама? Зарегистрируйтесь и она исчезнет полностью.
raxper
Эксперт
30234 / 6612 / 1498
Регистрация: 28.12.2010
Сообщений: 21,154
Блог
06.04.2014, 22:54
Помогаю со студенческими работами здесь

MyISAM и InnoDB
Добрый день, уважаемые. Не очень разбираюсь в предмете по этому прошу вашего совета. Итак купил хостинг. mysql 5.5. тип бд = MyISAM ...

Innodb, TRUNCATE
хз, может кто-то натыкался на такой глюк. Есть innodb таблица. в нее скрипт пишет данные (скрипт на DBSimple). простой скрипт: public...

MyISAM или InnoDB
Здравствуйте! Натолкнулся на интересную статью в интернете, о сравнении типов таблиц MyISAM и Innodb. У каждого типа, есть свои плюсы...

Удаление таблицы innodb
Всем здравствуйте. Сталкнулся сегодня с такой проблемой: Нашёл на сервере таблицу в 50млн записей, 23 гб - и выяснил что она не нужна. ...

Вывод данных в InnoDB
У меня есть таблицы со связями, сделал, все нормально. Но когда делаю запрос SELECT * FROM rasp то мне выводит такой результат а я...


Искать еще темы с ответами

Или воспользуйтесь поиском по форуму:
14
Ответ Создать тему
Новые блоги и статьи
Ритм жизни
kumehtar 27.02.2026
Иногда приходится жить в ритме, где дел становится всё больше, а вовлечения в происходящее — всё меньше. Плотный график не даёт вниманию закрепиться ни на одном событии. Утро начинается с быстрых,. . .
SDL3 для Web (WebAssembly): Сборка библиотек SDL3 и Box2D из исходников с помощью CMake и Emscripten
8Observer8 27.02.2026
Недавно вышла версия SDL 3. 4. 2 библиотеки SDL3. На странице официальной релиза доступны исходники, готовые DLL (для x86, x64, arm64), а также библиотеки для разработки под Android, MinGW и Visual. . .
SDL3 для Web (WebAssembly): Реализация движения на Box2D v3 - трение и коллизии с повёрнутыми стенами
8Observer8 20.02.2026
Содержание блога Box2D позволяет легко создать главного героя, который не проходит сквозь стены и перемещается с заданным трением о препятствия, которые можно располагать под углом, как верхнее. . .
Конвертировать закладки radiotray-ng в m3u-плейлист
damix 19.02.2026
Это можно сделать скриптом для PowerShell. Использование . \СonvertRadiotrayToM3U. ps1 <path_to_bookmarks. json> Рядом с файлом bookmarks. json появится файл bookmarks. m3u с результатом. # Check if. . .
Семь CDC на одном интерфейсе: 5 U[S]ARTов, 1 CAN и 1 SSI
Eddy_Em 18.02.2026
Постепенно допиливаю свою "многоинтерфейсную плату". Выглядит вот так: https:/ / www. cyberforum. ru/ blog_attachment. php?attachmentid=11617&stc=1&d=1771445347 Основана на STM32F303RBT6. На борту пять. . .
Камера Toupcam IUA500KMA
Eddy_Em 12.02.2026
Т. к. у всяких "хикроботов" слишком уж мелкий пиксель, для подсмотра в ESPriF они вообще плохо годятся: уже 14 величину можно рассмотреть еле-еле лишь на экспозициях под 3 секунды (а то и больше),. . .
И ясному Солнцу
zbw 12.02.2026
И ясному Солнцу, и светлой Луне. В мире покоя нет и люди не могут жить в тишине. А жить им немного лет.
«Знание-Сила»
zbw 12.02.2026
«Знание-Сила» «Время-Деньги» «Деньги -Пуля»
КиберФорум - форум программистов, компьютерный форум, программирование
Powered by vBulletin
Copyright ©2000 - 2026, CyberForum.ru