Please help. Im trying to install ver. otrs-3.2.6-01.noarch.rpm on CentOS 6.4 64Bit. I install MySQL and everything is Ok (yum -y install mysql-server) then when I run the mysql_secure_installation script I get this error:
Before I made this modification as per the instructions:touch: cannot touch `.my.cnf.2720': Permission denied
touch: cannot touch `.mysql.2720': Permission denied
chmod: cannot access `.my.cnf.2720': No such file or directory
chmod: cannot access `.mysql.2720': No such file or directory
NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MySQL
SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!
In order to log into MySQL to secure it, we'll need the current
password for the root user. If you've just installed MySQL, and
you haven't set the root password yet, the password will be blank,
so you should just press enter here.
Enter current password for root (enter for none):
/usr/bin/mysql_secure_installation: line 85: .my.cnf.2720: Permission denied
/usr/bin/mysql_secure_installation: line 86: .my.cnf.2720: Permission denied
/usr/bin/mysql_secure_installation: line 87: .my.cnf.2720: Permission denied
/usr/bin/mysql_secure_installation: line 89: .my.cnf.2720: Permission denied
/usr/bin/mysql_secure_installation: line 58: .mysql.2720: Permission denied
/usr/bin/mysql_secure_installation: line 60: .mysql.2720: No such file or directory
Enter current password for root (enter for none):
I updated root password but still get the same error.File:
/etc/my.cnf
added:
max_allowed_packet=16M
query_cache_size=32M
Thank you so much.mysql -u root -p
use mysql;
update user set password=PASSWORD("something-cool") where user='root';
flush privileges;
quit