mysql初始化出现:Installing MySQL system tables.../usr/local/mysql/bin/mysqld: error while loading shared

二进制安装mysql初始化出现:Installing MySQL system tables…/usr/local/mysql/bin/mysqld: error while loading shared

原因:缺少libaio库文件

解决方法:yum install libaio* -y

  • 2
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 2
    评论
mysql-5.6.25.tar 包含两个文件: - mysql-5.6.25.tar.gz Generic Linux (Architecture Independent), Compressed TAR Archive MD5: 37664399c91021abe070faa700ecd0ed -install.txt: 安装方法 首先解压mysql-5.6.25.tar: $ tar xf mysql-5.6.25.tar ------------------ Mysql 源码安装操作: 1. 创建用户 # groupadd mysql # useradd -g -r mysql mysql 2. 解压缩tar包 # tar xf mysql-5.6.25.tar.gz # cd mysql-5.6.25 3. 编译安装 # cmake . -DCMAKE_INSTALL_PREFIX=/usr/local/mysql \ > -DDEFAULT_CHARSET=gbk \ > -DDEFAULT_COLLATION=gbk_chinese_ci \ > -DENABLED_LOCAL_INFILE=ON \ > -DWITH_INNOBASE_STORAGE_ENGINE=1 \ > -DWITH_FEDERATED_STORAGE_ENGINE=1 \ > -DWITH_BLACKHOLE_STORAGE_ENGINE=1 \ > -DMYSQL_UNIX_ADDR=/tmp/mysqld.sock \ > -DWITH_DEBUG=0 \ > -DMYSQL_TCP_PORT=3306 # make # make install 4. 配置以及初始化MySQL # cd /usr/local/mysql 4.1 设置MySQL安装目录的权限 # chown -R mysql:mysql /usr/local/mysql 4.2 初始化MySQL # scripts/mysql_install_db --user=mysql # cp support-files/mysql.server /etc/init.d/mysqld 4.3 重新设置MySQL安装目录的权限(除data目录外,其余所有目录及文件均修改用户为root,组不变) # chown -R root . # chown -R mysql data 4.4 启动mysql_safe # bin/mysqld_safe --user=mysql & 4.5 设置MySQL的root帐号密码 - 自动设置:# ./bin/mysql_secure_installation 或 - 手动置:# ./bin/mysqladmin -u root password '' ------------------ 操作详情参看: https://github.com/Marslo/MyBlog/blob/master/Programming/MySQL/MySQLInstallationBySourceCode.md MySQL6源码安装官方手册: http://dev.mysql.com/doc/refman/5.6/en/installing-source-distribution.html ------------------ 资源为英文,下载请谨慎
Beta Build Eight Notes There is a known issue where unselecting certain product features will cause cross platform development problems. We're working on it, but in the meantime we recommend installing all product features. There is a startup error reported for C++Builder-only installs. C++Builder Beta Testers should install the full RAD Studio. Before downloading this build you will need to have a product serial number, and you can request that via the serial number link on the Resources menu. If you've already created a serial number for a previous build you do not need to create another. You will need to re-register Beta Seven. You can use your existing serial number to do so. Please uninstall any previous Pulsar builds before installing this build. When prompted where to download the additional setup files please choose an empty folder. File Attachments: FmiForFpc.zip: Used for FireMonkey iOS development on the Mac. See the What's New doc for details. Look for the Installing FMI Sources on Your Mac section. Pulsar_Beta_8_Bug_Fixes.html: This lists the Quality Central bugs fixed since the release of Beta Seven. PulsarSamples.zip: Sample applications that demonstrate FireMonkey, DataSnap, and Databinding capabilities. The samples provided with the previous beta build will not work with build 16.0.4223.41907, so you'll need to download this zip file. What's New in Pulsar Beta 8.htm: Latest features and release notes. RenameFmxEnums.exe: A tool to scan through your project files and update them to reflect the changes in FireMonkey Enums in Beta 8. See the What's New doc for details. Select the link below to download the setup.exe file : Announcement:We are not intend to do harm to Embarcadero, just wanna share the product with delphi fans proudly, especially for those one dont have a good net! 声明:公开下载地址并不表明对Embarcadero的恶意,只是为分享delphi,特别是那些网络不好的同学。 Apply For Beta Serial Key(点此申请测试版密钥) https://beta.embarcadero.com/callout/apply.html?callid=%7bFA7D2619-0CFA-4AF5-9A55-E9C23DBC763D%7d

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

不淘气

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值