FATAL ERROR: Could not find ./bin/my_print_defaults的解决办法

时间:2025-03-01 12:56:15
[root@localhost mysql] # ./scripts/mysql_install_db --user=mysql
Installing MySQL system tables...
OK
Filling help tables...
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:
. /bin/mysqladmin  -u root password  'new-password'
. /bin/mysqladmin  -u root -h password  'new-password'
Alternatively you can run:
. /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  . ; . /bin/mysqld_safe  &
You can  test  the MySQL daemon with mysql- test -
cd  . /mysql-test  ; perl mysql- test -
Please report any problems with the . /bin/mysqlbug  script!
[root@localhost mysql] #