MYSQL Works but on start gives an Error

Discussion in 'Installation/Configuration' started by nibb, Jun 5, 2007.

  1. nibb

    nibb New Member

    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.
     
  2. falko

    falko Super Moderator Howtoforge Staff

    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.
     

Share This Page