设为首页 收藏本站
查看: 1748|回复: 3

[求助] 求助 mysql安装问题

[复制链接]
累计签到:9 天
连续签到:1 天
发表于 2015-10-27 17:27:31 | 显示全部楼层 |阅读模式
[root@sb_dbtest2 mysql]# cat /etc/my.cnf
[mysql]
port = 3306
socket          = /tmp/mysql.sock
default-character-set=utf8

[mysqld]
port        = 3306
datadir=/mysql/data
character_set_server=utf8
socket        = /tmp/mysql.sock
pid-file   = /mysql/data/sb_dbtest2.pid
explicit_defaults_for_timestamp=true


[root@sb_dbtest2 mysql]# ./scripts/mysql_install_db   --basedir=/mysql --datadir=/mysql/data   --user=mysql  
Installing MySQL system tables...2015-10-27 16:52:38 4783 [Note] InnoDB: Using atomics to ref count buffer pool pages
2015-10-27 16:52:38 4783 [Note] InnoDB: The InnoDB memory heap is disabled
2015-10-27 16:52:38 4783 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2015-10-27 16:52:38 4783 [Note] InnoDB: Memory barrier is not used
2015-10-27 16:52:38 4783 [Note] InnoDB: Compressed tables use zlib 1.2.3
2015-10-27 16:52:38 4783 [Note] InnoDB: Using Linux native AIO
2015-10-27 16:52:38 4783 [Note] InnoDB: Using CPU crc32 instructions
2015-10-27 16:52:38 4783 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2015-10-27 16:52:38 4783 [Note] InnoDB: Completed initialization of buffer pool
2015-10-27 16:52:38 4783 [Note] InnoDB: Highest supported file format is Barracuda.
2015-10-27 16:52:38 4783 [Note] InnoDB: Log scan progressed past the checkpoint lsn 49463
2015-10-27 16:52:38 4783 [Note] InnoDB: Database was not shutdown normally!
2015-10-27 16:52:38 4783 [Note] InnoDB: Starting crash recovery.
2015-10-27 16:52:38 4783 [Note] InnoDB: Reading tablespace information from the .ibd files...
2015-10-27 16:52:38 4783 [Note] InnoDB: Restoring possible half-written data pages
2015-10-27 16:52:38 4783 [Note] InnoDB: from the doublewrite buffer...
InnoDB: Doing recovery: scanned up to log sequence number 1600607
2015-10-27 16:52:38 4783 [Note] InnoDB: Starting an apply batch of log records to the database...
InnoDB: Progress in percent: 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
InnoDB: Apply batch completed
2015-10-27 16:52:38 4783 [Note] InnoDB: 128 rollback segment(s) are active.
2015-10-27 16:52:38 4783 [Note] InnoDB: Waiting for purge to start
2015-10-27 16:52:39 4783 [Note] InnoDB:  Percona XtraDB (http://www.percona.com) 5.6.22-rel71.0 started; log sequence number 1600607
08:52:39 UTC - mysqld got signal 11 ;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.
We will try our best to scrape up some info that will hopefully help
diagnose the problem, but since we have already crashed,
something is definitely wrong and this may fail.
Please help us make Percona Server better by reporting any
bugs at http://bugs.percona.com/

key_buffer_size=8388608
read_buffer_size=131072
max_used_connections=0
max_threads=153
thread_count=0
connection_count=0
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 69184 K  bytes of memory
Hope that's ok; if not, decrease some variables in the equation.

Thread pointer: 0x0
Attempting backtrace. You can use the following information to find out
where mysqld died. If you see no messages after this, something went
terribly wrong...
stack_bottom = 0 thread_stack 0x40000
/mysql/bin/mysqld(my_print_stacktrace+0x2c)[0x8f092c]
/mysql/bin/mysqld(handle_fatal_signal+0x461)[0x67a6d1]
/lib64/libpthread.so.0(+0xf790)[0x7fa0738f9790]
/lib64/libc.so.6(+0x1283f6)[0x7fa0720d23f6]
/usr/lib64/libcrypto.so.6(+0x7fdba)[0x7fa072d61dba]
/usr/lib64/libcrypto.so.6(lh_insert+0xa6)[0x7fa072d62106]
/usr/lib64/libcrypto.so.6(OBJ_NAME_add+0x6b)[0x7fa072d3e8eb]
/usr/lib64/libssl.so.6(SSL_library_init+0x1d1)[0x7fa07308e441]
/mysql/bin/mysqld(ssl_start+0x3c)[0xba45cc]
/mysql/bin/mysqld(_Z11mysqld_mainiPPc+0x110f)[0x5b712f]
/lib64/libc.so.6(__libc_start_main+0xfd)[0x7fa071fc8d5d]
/mysql/bin/mysqld[0x5a9bbd]
You may download the Percona Server operations manual by visiting
http://www.percona.com/software/percona-server/. You may find information
in the manual which will help you identify the cause of the crash.


运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-131546-1-1.html 上篇帖子: MySQL5.5(cmake)简介、安装、应用、账户授权、还原、备份、还原 下篇帖子: ubuntu 修改mysql密码 mysql
累计签到:77 天
连续签到:1 天
发表于 2015-10-27 17:55:16 | 显示全部楼层
你是怎么安装的mysql,你启动一下mysql 看报什么错

运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

累计签到:77 天
连续签到:1 天
发表于 2015-10-27 18:01:28 | 显示全部楼层
还有确保/data的权限,是mysql 用户

运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

累计签到:9 天
连续签到:1 天
 楼主| 发表于 2015-10-27 18:14:54 | 显示全部楼层
sky 发表于 2015-10-27 18:01
还有确保/data的权限,是mysql 用户

-rwxr-xr-x  1 root  root  2.5K 1月  10 2015 README.MySQL-rwxr-xr-x  1 root  root   301 1月  10 2015 INSTALL-BINARY
-rwxr-xr-x  1 root  root   18K 1月  10 2015 COPYING
-rwxr-xr-x  1 root  root  4.0K 1月  10 2015 README.md
-rwxr-xr-x  1 root  root  1.7K 1月  10 2015 COPYING-jemalloc
drwxr-xr-x  2 root  root  4.0K 10月 27 16:16 bin
drwxr-xr-x  2 root  root  4.0K 10月 27 16:16 docs
drwxr-xr-x  3 root  root  4.0K 10月 27 16:16 include
drwxr-xr-x  3 root  root  4.0K 10月 27 16:16 lib
drwxr-xr-x  4 root  root  4.0K 10月 27 16:16 man
drwxr-xr-x 10 root  root  4.0K 10月 27 16:16 mysql-test
drwxr-xr-x  2 root  root  4.0K 10月 27 16:16 scripts
drwxr-xr-x 28 root  root  4.0K 10月 27 16:16 share
drwxr-xr-x  4 root  root  4.0K 10月 27 16:16 sql-bench
drwxr-xr-x  2 root  root  4.0K 10月 27 16:42 support-files
drwxr-xr-x  4 mysql mysql 4.0K 10月 27 18:11 data


运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表