warning: World-writeable config file /root/.my.cnf is ignoredmysqladmin: connect to server at 'localhost' failederror: 'Access denied for user: 'root@localhost' (Using password: NO)'
Thank you very much, I was afraid I had to install the server again.I obviously changed the permissions of the whole /root directory. Can you tell me what the permissions must be of the other files in the /root directory?Rien
[root@XXXXXXX root]# ls -alltotal 136drwxr-x--- 5 root root 4096 May 2 09:50 .drwxr-xr-x 21 root root 4096 Apr 18 11:07 ..-rw-r--r-- 1 root root 740 Mar 7 09:55 anaconda-ks.cfg-rw------- 1 root root 9905 Apr 29 08:41 .bash_history-rw-r--r-- 1 root root 24 Jun 11 2000 .bash_logout-rw-r--r-- 1 root root 234 Jul 6 2001 .bash_profile-rw-r--r-- 1 root root 176 Aug 24 1995 .bashrcdrwx------ 2 root root 4096 Mar 7 13:11 .cedit-rw-r--r-- 1 root root 210 Jun 11 2000 .cshrc-rw-r--r-- 1 root root 12152 Mar 7 09:55 install.log-rw-r--r-- 1 root root 49152 Mar 7 09:56 install.log.syslogdrwxr-xr-x 3 root root 4096 May 2 10:32 .mc-rw------- 1 root root 636 Mar 7 10:04 .my.cnf-rw------- 1 root root 1024 Mar 7 10:02 .rnddrwx------ 2 root root 4096 Apr 20 07:18 .ssh-rw-r--r-- 1 root root 196 Jul 11 2000 .tcshrc-rw-r--r-- 1 root root 3877 Jun 27 2003 .vimrc-rw-r--r-- 1 root root 1126 Aug 24 1995 .Xresources-rw-r--r-- 1 root root 312 Feb 24 10:01 yum-e-smith-antivirus.conf