In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
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 ("Shsncroup root #") where user= "root"
Grant all privileges on *. * to root@'%' identified by "shsncks"
Execute mysqld_safe error message: mysqld does not exist or is not executable
Execute mysqld_safe error message:
[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
Background error log report:
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 starts error reporting mysqld_safe only knows the mysqld of the / usr/local/mysql/bin/mysqld path
Method 1: create a link file in / 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
Method 2: change all / usr/local/mysql directories in mysqld_safe to your actual installation directory
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.