mysql: [Warning] World-writable config file ‘/etc/mysql/conf.d/mysql.cnf‘ is ignored.报错及解决

MySQL篇之解决启动时报错:Warning: World-writable config file ‘/etc/my.cnf’ is ignored_听说唐僧不吃肉的博客-CSDN博客

报错

$ /media/aa/DATA/SZQ2/PASApipeline-v2.5.2/scripts/create_mysql_cdnaassembly_db.dbi -r -c alignAssembly.config -S /media/aa/DATA/SZQ2/PASApipeline-v2.5.2/schema/cdna_alignment_mysqlschema
-connecting to MySQL db: 
mysql: [Warning] World-writable config file '/etc/mysql/conf.d/mysql.cnf' is ignored.
mysql: [Warning] World-writable config file '/etc/mysql/mysql.conf.d/default-auth-override.cnf' is ignored.
mysql: [Warning] World-writable config file '/etc/mysql/mysql.conf.d/mysqld.cnf' is ignored.
mysql: [Warning] Using a password on the command line interface can be insecure.

解决

sudo chmod 644 /etc/mysql/conf.d/mysql.cnf
sudo chmod 644 /etc/mysql/mysql.conf.d/default-auth-override.cnf
sudo chmod 644 /etc/mysql/mysql.conf.d/mysqld.cnf

你可能感兴趣的:(Ubuntu报错及解决日志,mysql,数据库,数学建模)