资讯

精准传达 • 有效沟通

从品牌网站建设到网络营销策划,从策略到执行的一站式服务

mysql-5.6.35二进制安装

chown -R    MySQL:mysql     /mysql

在凤泉等地区,都构建了全面的区域性战略布局,加强发展的系统性、市场前瞻性、产品创新能力,以专注、极致的服务理念,为客户提供网站设计、成都网站建设 网站设计制作按需定制网站,公司网站建设,企业网站建设,品牌网站建设,网络营销推广,外贸营销网站建设,凤泉网站建设费用合理。


/mysql/scripts/mysql_install_db  --user=mysql --basedir=/mysql/ --datadir=/mysql/data

/mysql/bin/mysqld_safe --defaults-file=/etc/my.cnf 2>&1 > /dev/null &


 

 update user set password=password("shsnc!@#") where user="root";
 
 
  grant all privileges on *.* to root@'%' identified by "shsnc!@#";
 
 
 执行mysqld_safe报错:mysqld does not exist or is not executable

执行mysqld_safe报错:
[root@edu data]# /usr/local/mysql5.7/bin/mysqld_safe --user=mysql
160427 12:41:28 mysqld_safe Logging to '/renqinglei/mysql/log/mysql_error.log'.
160427 12:41:28 mysqld_safe The file /usr/local/mysql/bin/mysqld
does not exist or is not executable. Please cd to the mysql installation
directory and restart this script from there as follows:
./bin/mysqld_safe&
See http://dev.mysql.com/doc/mysql/en/mysqld-safe.html for more information
 
后台错误日志报:
160427 12:41:28 mysqld_safe The file /usr/local/mysql/bin/mysqld
does not exist or is not executable. Please cd to the mysql installation
directory and restart this script from there as follows:
./bin/mysqld_safe&
See http://dev.mysql.com/doc/mysql/en/mysqld-safe.html for more information
 

mysqld_safe启动报错 mysqld_safe只认识/usr/local/mysql/bin/mysqld路径的mysqld


方法一:在/usr/local/mysql创建链接文件

mkdir -p /usr/local/mysql/bin 
ln -s /home/mysql/product/5.6/mysql-1/bin/mysqld /usr/local/mysql/bin/mysqld 

方法二:将mysqld_safe中的所有/usr/local/mysql目录改为自己实际的安装目录


标题名称:mysql-5.6.35二进制安装
文章分享:http://cdkjz.cn/article/gjcpje.html
多年建站经验

多一份参考,总有益处

联系快上网,免费获得专属《策划方案》及报价

咨询相关问题或预约面谈,可以通过以下方式与我们联系

业务热线:400-028-6601 / 大客户专线   成都:13518219792   座机:028-86922220