I have the perfect Setup for CentOS. Everything works great in my server except that when i run the command it says: [root@server /]# service mysqld restart : command not foundork: line 2: sol Stopping MySQL: [ OK ] Initializing MySQL database: [ OK ] chown: cannot access `/var/lib/mysql\r': No such file or directory chown: cannot access `/var/lib/mysql\r': No such file or directory chmod: cannot access `/var/lib/mysql\r': No such file or directory Starting MySQL: [ OK ] [root@server /]# It still works well but just wondering why this it.
Did you maybe edit any MySQL related file and save it with Windows linebreaks instead of Unix linebreaks? If you edit files on Windows, make sure that you use an editor that allows you to save files with Unix linebreaks.