先是显示不安装libgcc_s.so.1不能工作,网上找了好多办法,有,看看libgcc_s.so.1位置在哪儿,没有的话安装,有的话把libgcc_s.so.1放到MySQL lib目录下我试了还不行。
我还在这儿https://blog.csdn.net/kongxx/article/details/39001009 看到说64位和32位的帖子,然后我就按着做了,然后ibgcc_s.so.1的提示没有了。出现了找不到libaio的错误,error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directory
然后装了libaio。又出现libstdc++.so.6的错误,error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory,然后按照这个帖子上的方法https://blog.csdn.net/qiaoliang328/article/details/79266008 ,然后又提示:
Ignoring --secure-file-priv value as server is running with --bootstrap.
/usr/local/mysql/bin/mysqld (mysqld 5.5.62) starting as process 13347 ...
Can't create/write to file '/usr/local/mysql/data/mysql/db.MYI'
我先给/usr/local/mysql目录全部权限后Can't create/write to file '/usr/local/mysql/data/mysql/db.MYI' 错误消失了。
。。。。。。。。
太折腾了,放弃了tar.gz包方式安装,安装前我还删了mariaDB