[求助]centos7.0安装mysql5.7问题

zjdfwangy 2016-09-27 10:59:32
系统:centos7.0
mysql版本:5.7
安装方式为rpm包
日志如下 :


2016-09-27T02:21:35.212847Z mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
2016-09-27T02:21:35.403053Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2016-09-27T02:21:35.403137Z 0 [Warning] 'NO_ZERO_DATE', 'NO_ZERO_IN_DATE' and 'ERROR_FOR_DIVISION_BY_ZERO' sql modes should be used with strict mode. They will be merged with strict mode in a future release.
2016-09-27T02:21:35.403141Z 0 [Warning] 'NO_AUTO_CREATE_USER' sql mode was not set.
2016-09-27T02:21:35.404396Z 0 [Note] /usr/sbin/mysqld (mysqld 5.7.14) starting as process 14743 ...
2016-09-27T02:21:35.408561Z 0 [Note] InnoDB: PUNCH HOLE support available
2016-09-27T02:21:35.408598Z 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2016-09-27T02:21:35.408609Z 0 [Note] InnoDB: Uses event mutexes
2016-09-27T02:21:35.408616Z 0 [Note] InnoDB: GCC builtin __sync_synchronize() is used for memory barrier
2016-09-27T02:21:35.408623Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.3
2016-09-27T02:21:35.408627Z 0 [Note] InnoDB: Using Linux native AIO
2016-09-27T02:21:35.408887Z 0 [Note] InnoDB: Number of pools: 1
2016-09-27T02:21:35.408994Z 0 [Note] InnoDB: Using CPU crc32 instructions
2016-09-27T02:21:35.410451Z 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M
2016-09-27T02:21:35.420463Z 0 [Note] InnoDB: Completed initialization of buffer pool
2016-09-27T02:21:35.422718Z 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
2016-09-27T02:21:35.434466Z 0 [Note] InnoDB: Highest supported file format is Barracuda.
2016-09-27T02:21:35.445292Z 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2016-09-27T02:21:35.445356Z 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2016-09-27T02:21:35.664240Z 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
2016-09-27T02:21:35.665174Z 0 [Note] InnoDB: 96 redo rollback segment(s) found. 96 redo rollback segment(s) are active.
2016-09-27T02:21:35.665188Z 0 [Note] InnoDB: 32 non-redo rollback segment(s) are active.
2016-09-27T02:21:35.666057Z 0 [Note] InnoDB: 5.7.14 started; log sequence number 1210151
2016-09-27T02:21:35.666267Z 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
2016-09-27T02:21:35.666494Z 0 [Note] InnoDB: Buffer pool(s) load completed at 160927 10:21:35
2016-09-27T02:21:35.666511Z 0 [Note] Plugin 'FEDERATED' is disabled.
mysqld: Table 'mysql.plugin' doesn't exist
2016-09-27T02:21:35.666633Z 0 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
2016-09-27T02:21:35.667103Z 0 [Warning] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2016-09-27T02:21:35.667184Z 0 [Warning] Failed to set up SSL because of the following SSL library error: SSL context is not usable without certificate and private key
2016-09-27T02:21:35.667604Z 0 [Note] Server hostname (bind-address): '*'; port: 3306
2016-09-27T02:21:35.667643Z 0 [Note] IPv6 is available.
2016-09-27T02:21:35.667652Z 0 [Note] - '::' resolves to '::';
2016-09-27T02:21:35.667673Z 0 [Note] Server socket created on IP: '::'.
2016-09-27T02:21:35.670104Z 0 [Warning] Failed to open optimizer cost constant tables

2016-09-27T02:21:35.670226Z 0 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.user' doesn't exist
2016-09-27T02:21:35.670270Z 0 [ERROR] Aborting

2016-09-27T02:21:35.670282Z 0 [Note] Binlog end
2016-09-27T02:21:35.670375Z 0 [Note] Shutting down plugin 'ngram'
2016-09-27T02:21:35.670384Z 0 [Note] Shutting down plugin 'ARCHIVE'
2016-09-27T02:21:35.670387Z 0 [Note] Shutting down plugin 'partition'
...全文
587 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
重生的苍鹰 2016-10-12
  • 打赏
  • 举报
回复
楼主怎么启动的,启动命令。
DreamNiceDay 2016-10-10
  • 打赏
  • 举报
回复
是不是 没有创建登录用户呢
cqyy725 2016-09-30
  • 打赏
  • 举报
回复
贴安装日志,不要贴数据库启动日志

19,613

社区成员

发帖
与我相关
我的任务
社区描述
系统使用、管理、维护问题。可以是Ubuntu, Fedora, Unix等等
社区管理员
  • 系统维护与使用区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧