In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)05/31 Report--
This article mainly explains "MySQL 5.6 initialization database times error FATAL ERROR: Could not find. / bin/my_print_defaults how to do", interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Next let the editor to take you to learn "MySQL 5.6initialization database times wrong FATAL ERROR: Could not find. / bin/my_print_defaults what to do"!
MySQL 5.6Ininitialization of database time error
[root@localhost scripts] # / mysql_install_db-- defaults-file=/etc/my_5.6_3306.cnf-- datadir=/my3306/data/-- user=mysql
FATAL ERROR: Could not find. / bin/my_print_defaults
If you compiled from source, you need to run 'make install' to
Copy the software into the correct location ready for operation.
If you are using a binary release, you must either be at the top
Level of the extracted archive, or pass the-- basedir option
Pointing to that location.
Solution:
Initialize MySQL with full path
[root@localhost mysql_software_56] # / mysql_software_56/scripts/mysql_install_db-defaults-file=/etc/my_5.6_3306.cnf-datadir=/my3306/data/-user=mysql
Installing MySQL system tables...2017-07-29 02:01:18 0 [Note] Ignoring-- secure-file-priv value as server is running with-- bootstrap.
2017-07-29 02:01:18 0 [Note]. / bin/mysqld (mysqld 5.6.37-log) starting as process 50198.
OK
Filling help tables...2017-07-29 02:03:47 0 [Note] Ignoring-- secure-file-priv value as server is running with-- bootstrap.
2017-07-29 02:03:47 0 [Note]. / bin/mysqld (mysqld 5.6.37-log) starting as process 50239.
OK
To start mysqld at boot time you have to copy
Support-files/mysql.server to the right place for your system
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER!
To do so, start the server, then issue the following commands:
/ mysql_software_56/bin/mysqladmin-u root password' new-password'
/ mysql_software_56/bin/mysqladmin-u root-h localhost.localdomain password' new-password'
Alternatively you can run:
/ mysql_software_56/bin/mysql_secure_installation
Which will also give you the option of removing the test
Databases and anonymous user created by default. This is
Strongly recommended for production servers.
See the manual for more instructions.
You can start the MySQL daemon with:
Cd. ; / mysql_software_56/bin/mysqld_safe &
You can test the MySQL daemon with mysql-test-run.pl
Cd mysql-test; perl mysql-test-run.pl
Please report any problems at http://bugs.mysql.com/
The latest information about MySQL is available on the web at
Http://www.mysql.com
Support MySQL by buying support/licenses at http://shop.mysql.com
New default config file was created as. / my.cnf and
Will be used by default by the server when you start it.
You may edit this file to change server settings
WARNING: Default config file / etc/my.cnf exists on the system
This file will be read by default by the MySQL server
If you do not want to use this, either remove it, or use the
-- defaults-file argument to mysqld_safe when starting the server
At this point, I believe you have a deeper understanding of "MySQL 5.6 initialization database times wrong FATAL ERROR: Could not find. / bin/my_print_defaults", might as well come to the actual operation! Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!
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.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
Groupadd oinstallgroupadd dbagroupadd opergroupadd asmadmingroupadd asmdbagroupadd asmoperuseradd-g
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.