centos7 mariadb 설치중 질문있습니다. ./scripts/mysql_install_db --us...
-
게시물 수정 , 삭제는 로그인 필요
[root@localhost mariadb]# ./scripts/mysql_install_db --user=mysql --datadir=/apm/apps/data --defaults-file=/apm/server/conf/my.cnf
./bin/my_print_defaults: Can't read dir of '/apm/server/conf/my.cnf.d' (Errcode: 2 "No such file or directory")
Fatal error in defaults handling. Program aborted
Installing MariaDB/MySQL system tables in '/apm/apps/data' ...
./bin/mysqld: Can't read dir of '/apm/server/conf/my.cnf.d' (Errcode: 2 "No such file or directory")
Fatal error in defaults handling. Program aborted
Installation of system tables failed! Examine the logs in
/apm/apps/data for more information.
The problem could be conflicting information in an external
my.cnf files. You can ignore these by doing:
shell> ./scripts/mysql_install_db --defaults-file=~/.my.cnf
You can also try to start the mysqld daemon with:
shell> ./bin/mysqld --skip-grant-tables --general-log &
and use the command line tool ./bin/mysql
to connect to the mysql database and look at the grant tables:
shell> ./bin/mysql -u root mysql
mysql> show tables;
Try 'mysqld --help' if you have problems with paths. Using
--general-log gives you a log in /apm/apps/data that may be helpful.
The latest information about mysql_install_db is available at
https://mariadb.com/kb/en/installing-system-tables-mysql_install_db
You can find the latest source at https://downloads.mariadb.org and
the maria-discuss email list at https://launchpad.net/~maria-discuss
Please check all of the above before submitting a bug report
at http://mariadb.org/jira
#centos7 mariadb 설치 #centos7 mariadb 10.6 설치 #centos7 mariadb #centos7 mariadb 삭제 #centos7 mariadb 10.11 설치 #centos7 mariadb 10.3 설치 #centos7 mariadb 수동 설치 #centos7 mariadb 10 설치 #centos mariadb 10 #centos7 mariadb install