当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 4 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : (继续)mysql deb包 ubuntu下安装配置出错
帖子发表于 : 2012-09-10 19:37 

注册: 2012-08-31 22:22
帖子: 12
送出感谢: 0 次
接收感谢: 0 次
上次的错误依照各位的帮助,安装了libaio-dev_0.3.106,libaio1_0.3.106两个包(libaio-dev依赖libaio1,无网真是麻烦)。执行service mysql start错误依旧,但是查看err。各位再帮得看看 :em01

120910 19:16:36 mysqld_safe Starting mysqld daemon with databases from /opt/mysql/server-5.5/data
120910 19:16:36 [Note] Plugin 'FEDERATED' is disabled.
/opt/mysql/server-5.5/bin/mysqld: Table 'mysql.plugin' doesn't exist
120910 19:16:36 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
120910 19:16:36 InnoDB: The InnoDB memory heap is disabled
120910 19:16:36 InnoDB: Mutexes and rw_locks use GCC atomic builtins
120910 19:16:36 InnoDB: Compressed tables use zlib 1.2.3
120910 19:16:36 InnoDB: Using Linux native AIO
120910 19:16:36 InnoDB: Initializing buffer pool, size = 128.0M
120910 19:16:36 InnoDB: Completed initialization of buffer pool
InnoDB: The first specified data file ./ibdata1 did not exist:
InnoDB: a new database to be created!
120910 19:16:36 InnoDB: Setting file ./ibdata1 size to 10 MB
InnoDB: Database physically writes the file full: wait...
120910 19:16:37 InnoDB: Log file ./ib_logfile0 did not exist: new to be created
InnoDB: Setting log file ./ib_logfile0 size to 5 MB
InnoDB: Database physically writes the file full: wait...
120910 19:16:37 InnoDB: Log file ./ib_logfile1 did not exist: new to be created
InnoDB: Setting log file ./ib_logfile1 size to 5 MB
InnoDB: Database physically writes the file full: wait...
InnoDB: Doublewrite buffer not found: creating new
InnoDB: Doublewrite buffer created
InnoDB: 127 rollback segment(s) active.
InnoDB: Creating foreign key constraint system tables
InnoDB: Foreign key constraint system tables created
120910 19:16:38 InnoDB: Waiting for the background threads to start
120910 19:16:39 InnoDB: 1.1.8 started; log sequence number 0
120910 19:16:40 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306
120910 19:16:40 [Note] - '0.0.0.0' resolves to '0.0.0.0';
120910 19:16:40 [Note] Server socket created on IP: '0.0.0.0'.
120910 19:16:40 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist
120910 19:16:40 mysqld_safe mysqld from pid file /opt/mysql/server-5.5/data/ubuntu.pid ended


页首
 用户资料  
 
2 楼 
 文章标题 : Re: (继续)mysql deb包 ubuntu下安装配置出错
帖子发表于 : 2012-09-10 19:43 

注册: 2012-08-31 22:22
帖子: 12
送出感谢: 0 次
接收感谢: 0 次
还有一个问题,就是在配置的时候sudo /usr/local/mysql/scripts/mysql_install_db --user=mysql --basedir=/usr/local/mysql --datadir=/usr/local/mysql/data

这个user=mysql,mysql是自己创建的用户??我改为别的用户名可以么?


页首
 用户资料  
 
3 楼 
 文章标题 : Re: (继续)mysql deb包 ubuntu下安装配置出错
帖子发表于 : 2012-09-11 18:05 

注册: 2011-10-12 10:34
帖子: 202
送出感谢: 2
接收感谢: 1
装mysql直接
sudo apt-get install -y mysql-server


页首
 用户资料  
 
4 楼 
 文章标题 : Re: (继续)mysql deb包 ubuntu下安装配置出错
帖子发表于 : 2012-09-11 21:56 

注册: 2012-08-31 22:22
帖子: 12
送出感谢: 0 次
接收感谢: 0 次
学校的锐捷最近连不上网了。。。


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 4 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 4 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译