Mariadb init脚本

问题描述:

我在Debian上安装了MAriadb表单源代码。 我使用了init脚本mysql.server。Mariadb init脚本

我有错误时运行:
Starting MySQL
.Manager of pid-file quit without updating file. ... failed!

没有mysqld.pid任何地方,没有执行的mysqld。

.ERR文件: 110209 17:04:55 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
110209 17:04:55 [ERROR] Can't find messagefile '/usr/share/mysql/english/errmsg.sys'
110209 17:04:55 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to
create it.
110209 17:04:55 [Note] PrimeBase XT (PBXT) Engine 1.0.11-7 Pre-GA loaded...
110209 17:04:55 [Note] Paul McCullagh, PrimeBase Technologies GmbH,
http://www.primebase.org
InnoDB: The InnoDB memory heap is disabled
InnoDB: Mutexes and rw_locks use GCC atomic builtins
InnoDB: Compressed tables use zlib 1.2.3.4
110209 17:04:55 InnoDB: highest supported file format is Barracuda.
110209 17:04:55 Percona XtraDB (http://www.percona.com) 1.0.13-11.6 started; log sequence number 45356
110209 17:04:55 [ERROR] Aborting

110209 17:04:55 InnoDB: Starting shutdown...
110209 17:04:55 InnoDB: Shutdown completed; log sequence number 45356
110209 17:04:55 [Note] PrimeBase XT Engine shutdown...
110209 17:04:55 [Note]
110209 17:04:55 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended

任何想法?

感谢

其实有一个Debian软件包与正常将工作;-)

这normaly意味着你刚刚升级到一个新的版本,但该表尚未升级。使用--skip-networking和--skip-grant-tables启动mysql。然后运行mysql_upgrade。现在停止并重新启动没有这些额外选项的MySQL服务器。